Message146790
| Author |
flox |
| Recipients |
flox, python-dev, rosslagerwall |
| Date |
2011年11月01日.16:40:16 |
| SpamBayes Score |
0.014401096 |
| Marked as misclassified |
No |
| Message-id |
<1320165616.95.0.355704019379.issue13309@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|