Message238649
There are other issues.
strptime with single %Y returns a date of the first day of the year. What should return single %G?
>>> time.strptime('2015', '%Y')
time.struct_time(tm_year=2015, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=3, tm_yday=1, tm_isdst=-1)
>>> time.strptime('2015', '%G')
time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1)
See also issue23717 and issue23718. |
|
Date |
User |
Action |
Args |
2015-03-20 11:32:00 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, belopolsky, r.david.murray, BreamoreBoy, Erik.Cederstrand, AaronR, aganders3, berker.peksag, Erik Cederstrand, Alex.Willmer |
2015-03-20 11:32:00 | serhiy.storchaka | set | messageid: <1426851120.76.0.207352137346.issue12006@psf.upfronthosting.co.za> |
2015-03-20 11:32:00 | serhiy.storchaka | link | issue12006 messages |
2015-03-20 11:32:00 | serhiy.storchaka | create | |
|