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) _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins