Message146790
It seems that "mktime" is buggy on Gentoo.
You can try to reset its state in some way before to retry strftime:
t = time.gmtime(time.time())
s = time.strftime('%Z', t)
print(s)
time.mktime((-1, 1, 1, 0, 0, 0, -1, -1, -1))
s = time.strftime('%Z', t)
print(s)
time.mktime((1, 1, 1, 0, 0, 0, 0, 0, -1))
s = time.strftime('%Z', t)
print(s)
I guess it could output:
SAST
LMT
SAST |
|
Date |
User |
Action |
Args |
2011-11-01 16:40:17 | flox | set | recipients:
+ flox, rosslagerwall, python-dev |
2011-11-01 16:40:16 | flox | set | messageid: <1320165616.95.0.355704019379.issue13309@psf.upfronthosting.co.za> |
2011-11-01 16:40:16 | flox | link | issue13309 messages |
2011-11-01 16:40:16 | flox | create | |
|