timedelta problem

Ian Kelly ian.g.kelly at gmail.com
Fri Aug 15 11:23:02 EDT 2014


On Fri, Aug 15, 2014 at 1:39 AM, Denis McMahon <denismfmcmahon at gmail.com> wrote:
> On Fri, 15 Aug 2014 10:24:47 +0800, luofeiyu wrote:
>
> On further inspection, it seems that strptime() in 2.7 doesn't handle %z
> at all. In 3.2, it ignores the value it gets, because there's no
> practical way to select the "right" tz string from the offset.

I'm not sure when %z was added, but it's worth noting that it doesn't
seem to be documented earlier than 3.3.



More information about the Python-list mailing list