Re: Possible DateTime timezone-related regression in Zope 2.12

Wichert Akkerman <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On 2010-1-10 04:36, Martin Aspeli wrote:
> so in your test, `DateTime(md.CreationDate())` will always be the
> current time, but with an implicitly added 'GMT+0' while `DateTime()`
> will be the current time in your local time zone.  so if i'm not
> mistaken, on plone 4.0 the test with fail for you an me (in 'GMT+x' time
> zones) and pass in the u.s.  fun! :)
>
> Does anyone know if this change was deliberate, or what may have happened?

Have you looked at 
http://zope3.pov.lt/trac/log/Zope/trunk/lib/python/DateTime?rev=95999 
for hints?

Wichert.


-- 
Wichert Akkerman <[email protected]>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.