[Zope-Coders] DateTime screwup on 2.6 branch and HEAD

kapil thangavelu kvthan@wm.edu
Fri, 18 Oct 2002 23:54:21 -0700


On Friday 18 October 2002 10:34 pm, Andreas Jung wrote:
> There is another outstanding problem with rfc822()
>
>     def rfc822(self):
>
>         import pdb
>         pdb.set_trace()
>         """Return the date in RFC 822 format"""
>         if self._tz == self._localzone0: #Use local standard time
>             tzoffset = _tzoffset2rfc822zone(localzone)
>                                             ^^^^^^^^^^
> localzone is *not* defined in this context and might raise an exception
> under some conditions! Please fix that since it breaks at least
> dtml-sendmail for some installations.
>
> -aj

line 1441, in DateTime.py

this error is also in the distributed files :-(

-k