Skip to content

Commit

Permalink
mess.py: toggle week parity
Browse files Browse the repository at this point in the history
  • Loading branch information
kst164 authored Nov 16, 2023
1 parent 378ef94 commit 98054ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bus-menu-scripts/mess.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#-------------------------------------------------------------------------------
# What week is now? (1/2/3/4) (for deciding which menu to use)
d = datetime.date.today()
current_week = d.isocalendar()[1] - datetime.date(d.year,d.month,1).isocalendar()[1] + 1
current_week = d.isocalendar()[1] - datetime.date(d.year,d.month,1).isocalendar()[1] + 2

#-------------------------------------------------------------------------------
# Get sheets
Expand Down

0 comments on commit 98054ab

Please sign in to comment.