Skip to content

Commit

Permalink
Update mess.py: change week parity
Browse files Browse the repository at this point in the history
  • Loading branch information
MistyRavager authored Jan 11, 2024
1 parent 98054ab commit d67fde1
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] + 2
current_week = d.isocalendar()[1] - datetime.date(d.year,d.month,1).isocalendar()[1] + 1

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

0 comments on commit d67fde1

Please sign in to comment.