[Python-Dev] Status on PEP-431 Timezones

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Jul 28 14:06:50 CEST 2015


On 28/07/2015 06:21, Lennart Regebro wrote:
> On Tue, Jul 28, 2015 at 3:22 AM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>> To me a day is precisely 24 hours, no more, no less.
>
> OK.
>
>> In my mission critical code, which I use to predict my cashflow, I use code
>> such as.
>>
>> timedelta(days=14)
>>
>> Is somebody now going to tell me that this isn't actually two weeks?
>
> Yes, I'm telling you that, now.
>
> The two claims "One day is always precisely 24 hours" and "14 days is
> two weeks" are not both true. You have to choose one.
>
> //Lennart
>

You can tell me, but as far as I'm concerned in my application both are 
true, so I don't have to choose one.

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

Mark Lawrence



More information about the Python-Dev mailing list