Skip to content

Commit

Permalink
fix(dashboard): change first stats period to 1M from 3M
Browse files Browse the repository at this point in the history
  • Loading branch information
zyv committed Nov 5, 2023
1 parent 7ff48df commit a71462e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logbook/views/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def totals_per_function(log_entries: QuerySet[LogEntry]):

now = datetime.now(tz=UTC)
periods = {
"3M": timedelta(days=90),
"1M": timedelta(days=30),
"6M": timedelta(days=180),
"1Y": timedelta(days=365),
"2Y": timedelta(days=365 * 2),
Expand Down

0 comments on commit a71462e

Please sign in to comment.