final edits
This commit is contained in:
@@ -89,7 +89,7 @@ class UserChartsActivityAll(DetailView):
|
||||
day_r = logs[-1].end_time.replace(hour=0, minute=0, second=0, microsecond=0)
|
||||
day_l = max(
|
||||
logs[0].start_time.replace(hour=0, minute=0, second=0, microsecond=0),
|
||||
day_r - timedelta(days=14)
|
||||
day_r - timedelta(days=13)
|
||||
)
|
||||
|
||||
day_count = (day_r - day_l) // timedelta(days=1) + 1
|
||||
|
Reference in New Issue
Block a user