Message300035
See my SO answer and the corresponding question for detail: https://stackoverflow.com/a/45602760/5348393
Essentially, given two datetime.datetime instances t1 and t2, the following two syntactically different lines of code should be logically equivalent, but in fact differ by plus or minus one hour on Daylight Savings Time dates because `datetime.datetime.__sub__` does not appear to take DST into account.
`t1.timestamp()-t2.timestamp()`
`(t1-t2).total_seconds()`
I am not sure if this is by intentional design, or a behavioral bug. |
|
Date |
User |
Action |
Args |
2017-08-10 02:04:40 | JoshuaRLi | set | recipients:
+ JoshuaRLi |
2017-08-10 02:04:40 | JoshuaRLi | set | messageid: <1502330680.91.0.483669668972.issue31167@psf.upfronthosting.co.za> |
2017-08-10 02:04:40 | JoshuaRLi | link | issue31167 messages |
2017-08-10 02:04:38 | JoshuaRLi | create | |
|