Skip to content

Commit

Permalink
adressing issue #11
Browse files Browse the repository at this point in the history
though not sure what the actual problem is
  • Loading branch information
martin-rdz committed Nov 22, 2022
1 parent 0dffd30 commit 60ff1f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ARLreader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ def fname_from_date(dt):
# determine the current 7 days
currentday_start = (week_no - 1) * 7 + 1
currentDate = datetime.datetime.now()
week_no_start = ((currentDate.day - 1) // 7) + 1
currentday_start = (week_no_start - 1) * 7 + 1
currentDate_weekstart = datetime.datetime(
currentDate.year,
currentDate.month,
Expand Down

0 comments on commit 60ff1f3

Please sign in to comment.