Eisfunke / Secret-Hitler-Telegram

A Telegram Bot that allows groups of users to play Secret Hitler
Other
8 stars 3 forks source link

Workaround for day-in-year not following 0-based indexing conventions #110

Closed FRQDO closed 1 year ago

Eisfunke commented 1 year ago

Well, it's following the conventions of dates, the first day of the year is generally the "1.", and we're using date functions here, so that's to be expected.

Eisfunke commented 1 year ago

If I get around to it, I might refactor this to use timedelta from datetime, that should be more suited for this task, I think.