Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76375

Re: timedelta problem

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: timedelta problem
Date 2014-08-15 17:29 +0100
References <mailman.13018.1408069502.18130.python-list@python.org> <lskdfb$6bg$1@dont-email.me> <CALwzidkFKzKW5suqM7kQbottBQ=UEtNzESAWT+EJU0-k_BYQNQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.13033.1408120179.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 15/08/2014 16:23, Ian Kelly wrote:
> On Fri, Aug 15, 2014 at 1:39 AM, Denis McMahon <denismfmcmahon@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.
>

Looks like this http://bugs.python.org/issue16667

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

timedelta  problem luofeiyu <elearn2014@gmail.com> - 2014-08-15 10:24 +0800
  Re: timedelta  problem Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-15 03:51 +0000
    Re: timedelta problem Chris Angelico <rosuav@gmail.com> - 2014-08-15 13:59 +1000
    Re: timedelta problem Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-14 22:00 -0600
  Re: timedelta  problem Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-15 07:39 +0000
    Re: timedelta  problem Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-15 08:44 +0000
    Re: timedelta problem Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-15 09:23 -0600
      Re: timedelta problem Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-15 17:43 +0000
        Re: timedelta problem Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-15 12:05 -0600
    Re: timedelta problem Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-15 17:29 +0100
  Re: timedelta  problem Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-15 09:36 +0000

csiph-web