[Zope3-dev] Re: OT: pytz

Dieter Maurer dieter at handshake.de
Sat Aug 5 16:38:38 EDT 2006


Florent Guillaume wrote at 2006-8-5 00:17 +0200:
>Stuart Bishop wrote:
> ...
>> I've been wondering if making pytz work like this was a correct decision. It
>> seems that people who know enough to care about DST transition periods
>> generally work in UTC anyway
>
>What makes you say that? Any application where datetimes are 
>user-entered and user-visible will certainly *not* want to store them in 
>UTC, as users will want dates displayed "as they were entered" (meaning 
>holding their original timezone, even if the timezone is not displayed).

*nix recommends to store the time in UTC (in the hardware clock).
Nevertheless, users see and can enter the time in their local timezone.

This demonstrates that the storage format can be independent of what
the user sees or enters...



-- 
Dieter


More information about the Zope3-dev mailing list