[Zope-Checkins] SVN: Zope/branches/ajung-DateTime-must-die-branch/lib/python/DateTime/DateTime.py fix

Andreas Jung andreas at andreas-jung.com
Sat Aug 25 12:28:34 EDT 2007


Log message for revision 79266:
  fix
  

Changed:
  U   Zope/branches/ajung-DateTime-must-die-branch/lib/python/DateTime/DateTime.py

-=-
Modified: Zope/branches/ajung-DateTime-must-die-branch/lib/python/DateTime/DateTime.py
===================================================================
--- Zope/branches/ajung-DateTime-must-die-branch/lib/python/DateTime/DateTime.py	2007-08-25 16:06:27 UTC (rev 79265)
+++ Zope/branches/ajung-DateTime-must-die-branch/lib/python/DateTime/DateTime.py	2007-08-25 16:28:34 UTC (rev 79266)
@@ -561,9 +561,8 @@
                 tzinfo = timezone('Etc/' + self._tz)
 
 
-
             try:
-                self._D = datetime.fromtimestamp(self._t, tzinfo=tzinfo)
+                self._D = datetime.fromtimestamp(self._t, tz=tzinfo)
             except:
                 self._D = datetime(self.year(), self.month(), self.day(),
                                    self.hour(), self.minute(), self.second(), tzinfo=tzinfo)



More information about the Zope-Checkins mailing list