[issue45347] datetime subject to rounding?

Joachim Jablon report at bugs.python.org
Sun Oct 3 03:16:24 EDT 2021


Joachim Jablon <ewjoachim at gmail.com> added the comment:

It may or it may not be obvious to some, but in year 5328, October 31st is the last Sunday of October, which in Rome, as in the rest of EU, according to the 202X rules, means it’s the day we shift from summer time (in Rome UTC+2) to standard time (in Rome UTC+1). The shift supposedly happens at 3AM where it’s 2AM, so not at midnight, but the proximity to a daylight shift moment raises some eyebrows. This could explain why it doesn’t happen on the year before or after. (I’m curious if it happens on year 5334 which has the same setup, but I cannot check at the moment)

----------
nosy: +ewjoachim

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45347>
_______________________________________


More information about the Python-bugs-list mailing list