[Zope-Checkins] CVS: Zope/lib/python/DateTime - DateTime.py:1.81

Lennart Regebro lennart@torped.se
Sat, 19 Oct 2002 06:05:23 -0400


Update of /cvs-repository/Zope/lib/python/DateTime
In directory cvs.zope.org:/tmp/cvs-serv10069/lib/python/DateTime

Modified Files:
	DateTime.py 
Log Message:
rfc822() ridn't work unless you had daylight saving

=== Zope/lib/python/DateTime/DateTime.py 1.80 => 1.81 ===
--- Zope/lib/python/DateTime/DateTime.py:1.80	Tue Oct 15 13:53:37 2002
+++ Zope/lib/python/DateTime/DateTime.py	Sat Oct 19 06:05:22 2002
@@ -1438,7 +1438,7 @@
     def rfc822(self):
         """Return the date in RFC 822 format"""
         if self._tz == self._localzone0: #Use local standard time
-            tzoffset = _tzoffset2rfc822zone(localzone)
+            tzoffset = _tzoffset2rfc822zone(timezone)
         elif self._tz == self._localzone1: # Use local daylight saving time
             tzoffset = _tzoffset2rfc822zone(altzone)
         else: