On Sat, Sep 12, 2015 at 3:38 PM, Ethan Furman <[email protected]> wrote:
> On 09/12/2015 12:16 PM, [email protected] wrote: > > If there is a "fall back" transition tonight, then adding a day to a >> time of 12 noon today could end up as: >> >> (1) 12 noon tomorrow, offset still DST. >> (2) 12 noon tomorrow, offset in standard time, 25 hours from now in real >> time. >> (3) 11 AM tomorrow, offset in standard time, 24 hours from now in real >> time >> > > I believe option 2 is the intended semantics. This is correct. We call this behavior "classic arithmetic" on this list.
_______________________________________________ Datetime-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/datetime-sig The PSF Code of Conduct applies to this mailing list: https://www.python.org/psf/codeofconduct/
