Message227804
For future reference, here is the example showing %Y %V ambiguity:
>>> date(2013,12,31).strftime('%Y %V %u')
'2013 01 2'
>>> date(2013,1,1).strftime('%Y %V %u')
'2013 01 2'
which is resolved by using %G
>>> date(2013,12,31).strftime('%G %V %u')
'2014 01 2'
>>> date(2013,1,1).strftime('%G %V %u')
'2013 01 2'
In other words, '2013 01 2' cannot be unambiguously parsed using '%Y %V %u' format. |
|
Date |
User |
Action |
Args |
2014-09-29 15:35:36 | belopolsky | set | recipients:
+ belopolsky, tim.peters, r.david.murray, BreamoreBoy, Erik.Cederstrand, AaronR, aganders3, Erik Cederstrand, Alex.Willmer |
2014-09-29 15:35:36 | belopolsky | set | messageid: <1412004936.79.0.907857486431.issue12006@psf.upfronthosting.co.za> |
2014-09-29 15:35:36 | belopolsky | link | issue12006 messages |
2014-09-29 15:35:36 | belopolsky | create | |
|