-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Glick wrote:
> Log message for revision 109667:
> add a failing test for a regression in parsing ISO format datetimes from
> DateTime 2.10, as discussed at http://dev.plone.org/plone/ticket/10140
> ...note that this will give a false positive if run on a computer where GMT
> is the local timezone
Please don't deliberately check in failing tests on the trunk. If you
need to do this, make a branch, and ask on the mailing list for people
to investigate your branch.
> Changed:
> U DateTime/trunk/src/DateTime/tests/testDateTime.py
>
> -=-
> Modified: DateTime/trunk/src/DateTime/tests/testDateTime.py
> ===================================================================
> --- DateTime/trunk/src/DateTime/tests/testDateTime.py 2010-03-05 03:41:57 UTC
> (rev 109666)
> +++ DateTime/trunk/src/DateTime/tests/testDateTime.py 2010-03-05 07:04:12 UTC
> (rev 109667)
> @@ -332,6 +332,7 @@
> ref2 = DateTime('2006/11/6 10:30 GMT')
> ref3 = DateTime('2004/06/14 14:30:15 GMT-3')
> ref4 = DateTime('2006/01/01 GMT')
> + ref5 = DateTime('2006/01/01')
Note that this a nonreproducible test value: parsing the string with
slashes but no timezone always gives you "local time".
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 [email protected]
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkuRWQQACgkQ+gerLs4ltQ7fUwCg1sqO48X6vjW/pgyq+2I4OGV0
j/IAn0/IZy+/d9+O/nEykkTLBLVYxdua
=paH6
-----END PGP SIGNATURE-----
_______________________________________________
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 )