Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ApsiV11 authored Jan 12, 2025
1 parent ed605a2 commit f48976d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

# To make a newsletter for a specific week (eg week 1), last possible occasion
# to do it is on Monday of that specific week (week 1). On Tuesday newsletter is made for the
# following week (week 2). timedelta correction below takes into account this and a fact
# that datetime library consideres week 1 to be the year's first week that starts from Monday,
# which differs from finnish convention. Correction is different every year.
# following week (week 2). timedelta correction below takes into account this.
week = (date.today()+timedelta(days=6)).strftime('%V')

categories = ["Opinnot", "Killan tapahtumat", "Muut tapahtumat", "Yleistä"]
Expand Down

0 comments on commit f48976d

Please sign in to comment.