News for hackers. Stuff that matters.
Re:It's Time for a Change: Datetime.utcnow() Is Now Deprecated by pjot on Sunday November 19, 2023 @04:37PM (#38338400)
Seems like the ideal way to store them to me!
Re:It's Time for a Change: Datetime.utcnow() Is Now Deprecated by mulmen on Sunday November 19, 2023 @04:48PM (#38338557)
Have you thought about this? How do you store shop hours in UTC for shops in timezones with DST?
Re:It's Time for a Change: Datetime.utcnow() Is Now Deprecated by midasuni on Sunday November 19, 2023 @05:44PM (#38339282)
Then you would be wrong, because they open at 9am local time - if the government changes local time with 2 days notice then opening time changes.