[Zope-dev] Re: SVN: Zope/trunk/lib/python/DateTime/tests/testDateTime.py Fix test. According to http://en.wikipedia.org/wiki/ISO_8601

Andreas Jung lists at zopyx.com
Sat Oct 27 23:40:21 EDT 2007



--On 27. Oktober 2007 18:01:25 -0400 Tres Seaver <tseaver at palladion.com> 
wrote:


>   >>> DateTime('2006-01-01')._tz
>   'US/Eastern'

Yeah, that's completely odd.

>
> I strongly disagreed with the argument for that change
> (http://www.zope.org/Collectors/Zope/2109), because it broke the
> semantics of the class, based on long-established use in Zope:  datetime
> strings which used ISO notation, but provided no explicit timezone, were
> assigned 'GMT+0' as the timezone.

Totally agreed.

> (http://www.zope.org/Collectors/Zope/2109),

Is this right issue? The URL redirection to LP points me to this:

<https://bugs.launchpad.net/zope2/+bug/143701>

>
> The trunk should be reverted to preserve the old behavior, which may be
> relied on by third-party applications.

Jup, either revert the change or fix it.

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20071028/77493a55/attachment.bin


More information about the Zope-Dev mailing list