Message168836
So you are saying that if the current timezone is UTC, FreeBSD's mktime just arbitrarily returns -1 for any time passed to it with the 'guess the DST flag' value set for is_dst? And for is_dst set to 1 as well? This isn't mentioned on the FreeBSD man page for mktime, as far as I can see.
If this is the real problem, we can fix it with the support.run_with_tz decorator, but...compiling and running your program on my linux box, I get -1 in both prints. |
|
Date |
User |
Action |
Args |
2012-08-22 02:03:52 | r.david.murray | set | recipients:
+ r.david.murray, barry, belopolsky, vstinner, trent |
2012-08-22 02:03:51 | r.david.murray | set | messageid: <1345601031.98.0.990826920603.issue15750@psf.upfronthosting.co.za> |
2012-08-22 02:03:51 | r.david.murray | link | issue15750 messages |
2012-08-22 02:03:51 | r.david.murray | create | |
|