[issue10864] time.strftime("%Y"): limitation of 4 digits on OpenIndiana (Solaris)
Skip Montanaro
report at bugs.python.org
Sat Jan 8 18:02:58 CET 2011
Skip Montanaro <skip at pobox.com> added the comment:
Skip> On my Mac it displays "12345". I don't see that as a big problem.
haypo> Why do you say "problem"? It is the correct result :-)
I agree. I interpreted your ticket as complaining that it should raise
a ValueError if year > 9999:
>> time.strftime() should raise a ValueError if the year is bigger
>> than 9999, as it is done with Visual Studio for year
>> outside [1; 9999].
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10864>
_______________________________________
More information about the Python-bugs-list
mailing list