Message125744
The following example displays '2345' instead of '12345':
import time
t = (12345,) + (0,)*8
print(repr(time.strftime("%Y", t)))
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]. |
|
| Date |
User |
Action |
Args |
| 2011-01-08 02:43:17 | vstinner | set | recipients:
+ vstinner |
| 2011-01-08 02:43:17 | vstinner | set | messageid: <1294454597.35.0.957818587484.issue10864@psf.upfronthosting.co.za> |
| 2011-01-08 02:43:14 | vstinner | link | issue10864 messages |
| 2011-01-08 02:43:14 | vstinner | create | |
|