[Zope-Checkins] SVN: Zope/trunk/lib/python/DateTime/DateTime.txt Fix timezone issues. I shoulda seen that one coming...

Philipp von Weitershausen philikon at philikon.de
Tue Nov 29 10:25:59 EST 2005


Log message for revision 40407:
  Fix timezone issues. I shoulda seen that one coming...
  

Changed:
  U   Zope/trunk/lib/python/DateTime/DateTime.txt

-=-
Modified: Zope/trunk/lib/python/DateTime/DateTime.txt
===================================================================
--- Zope/trunk/lib/python/DateTime/DateTime.txt	2005-11-29 15:05:15 UTC (rev 40406)
+++ Zope/trunk/lib/python/DateTime/DateTime.txt	2005-11-29 15:25:58 UTC (rev 40407)
@@ -219,11 +219,11 @@
     >>> dt.timeTime()
     857933100.0
 
-    >>> DateTime('2040/01/01').timeTime()
-    2208985200.0
+    >>> DateTime('2040/01/01 UTC').timeTime()
+    2208988800.0
 
-    >>> DateTime('1900/01/01').timeTime()
-    -2208992400.0
+    >>> DateTime('1900/01/01 UTC').timeTime()
+    -2208988800.0
 
 * ``toZone(z)`` returns a DateTime with the value as the current
   object, represented in the indicated timezone:



More information about the Zope-Checkins mailing list