[Zope3-checkins] CVS: Zope3/src/datetime - doc.txt:1.10

Tim Peters tim.one@comcast.net
Thu, 2 Jan 2003 16:18:10 -0500


Update of /cvs-repository/Zope3/src/datetime
In directory cvs.zope.org:/tmp/cvs-serv18831/src/datetime

Modified Files:
	doc.txt 
Log Message:
Repaired LocalTime example.


=== Zope3/src/datetime/doc.txt 1.9 => 1.10 ===
--- Zope3/src/datetime/doc.txt:1.9	Thu Jan  2 16:12:29 2003
+++ Zope3/src/datetime/doc.txt	Thu Jan  2 16:18:08 2003
@@ -895,9 +895,9 @@
 
         def utcoffset(self, dt):
             if self._isdst(dt):
-                return timedelta(seconds=-time.timezone//60)
+                return timedelta(seconds=-time.timezone)
             else:
-                return timedelta(seconds=-time.altzone//60)
+                return timedelta(seconds=-time.altzone)
 
         def tzname(self, dt):
             return time.tzname[self._isdst(dt)]