Message229390
Antoine,
I don't think the behavior that you have shown is a bug in strict sense.
On my Mac, I get
$ python mkbug.py breakme
1396702800.0
1396702800.0
but on Linux,
$ python mkbug.py breakme
1396706400.0
1396702800.0
The problem here is that time.mktime((2014, 4, 6, 2, 0, 0, -1, -1, -1))
is undefined and both 1396706400 and 1396702800 timestamps are valid guesses for what 2014-04-06T02 was in NZ:
$ TZ=NZ date -d @1396706400
Sun Apr 6 02:00:00 NZST 2014
$ TZ=NZ date -d @1396702800
Sun Apr 6 02:00:00 NZDT 2014
It is unfortunate that Linux C library (glibc?) makes different guess at different time, but I don't think this violates any applicable standards. |
|
Date |
User |
Action |
Args |
2014-10-15 01:01:23 | belopolsky | set | recipients:
+ belopolsky, lemburg, barry, pitrou, Arfrever, thomir, veebers |
2014-10-15 01:01:23 | belopolsky | set | messageid: <1413334883.56.0.726654771527.issue22627@psf.upfronthosting.co.za> |
2014-10-15 01:01:23 | belopolsky | link | issue22627 messages |
2014-10-15 01:01:23 | belopolsky | create | |
|