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

Lennart Regebro lennart@regebro.nu
Sat, 19 Oct 2002 13:13:21 +0200


Fixed.
----- Original Message ----- 
From: "Andreas Jung" <lists@andreas-jung.com>
To: <info@torped.se>
Cc: <zope-coders@zope.org>
Sent: Saturday, October 19, 2002 7:34 AM
Subject: Re: [Zope-Coders] DateTime screwup on 2.6 branch and HEAD


> 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
> 
> 
> 
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://lists.zope.org/mailman/listinfo/zope-coders
>