Skip to content

Commit a1556b1

Browse files
committed
fix(summary): 🚑 extend initial date range #179
1 parent 3f715e1 commit a1556b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/worked_time.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ def start(self):
4242

4343
def date_range():
4444
dr = MonthDateRange(pytz.UTC)
45+
start = dr.start() - timedelta(days=6)
4546
return {
46-
"start_date": datetime_str(dr.start()),
47+
"start_date": datetime_str(start),
4748
"end_date": datetime_str(dr.end()),
4849
}
4950

0 commit comments

Comments
 (0)