This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients AaronR, Alex.Willmer, BreamoreBoy, Erik Cederstrand, Erik.Cederstrand, aganders3, belopolsky, berker.peksag, r.david.murray, serhiy.storchaka, tim.peters
Date 2015-03-20.11:32:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426851120.76.0.207352137346.issue12006@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-03-20 11:32:00serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, belopolsky, r.david.murray, BreamoreBoy, Erik.Cederstrand, AaronR, aganders3, berker.peksag, Erik Cederstrand, Alex.Willmer
2015-03-20 11:32:00serhiy.storchakasetmessageid: <1426851120.76.0.207352137346.issue12006@psf.upfronthosting.co.za>
2015-03-20 11:32:00serhiy.storchakalinkissue12006 messages
2015-03-20 11:32:00serhiy.storchakacreate