[New-bugs-announce] [issue20010] time.strftime('%z') didn't make +HHMM return in windows xp

Civa Lin report at bugs.python.org
Tue Dec 17 23:38:51 CET 2013


New submission from Civa Lin:

On windows xp (Taiwanese) platform...

    c:\> py -c "import time; print(time.strftime('%z', time.localtime()))"

It will raise a UnicodeEncodeError in my system.

I think it's not a +HHMM format and has different behavior with document:
    http://docs.python.org/3/library/time.html#time.strftime

----------
components: Library (Lib), Unicode, Windows
messages: 206484
nosy: civalin, ezio.melotti, haypo
priority: normal
severity: normal
status: open
title: time.strftime('%z') didn't make +HHMM return in windows xp
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20010>
_______________________________________


More information about the New-bugs-announce mailing list