[Zope] global name 'localzone' not defined?

Bakhtiar Abdul Hamid kdie@nstp.com.my
Sun, 20 Oct 2002 17:27:54 +0800 (MYT)


On 20 Oct 2002, Wankyu Choi wrote:

> 
> 
> Hi all,
> 
> 
> 
> Zope 2.6.0 gives me the following error when setting cookies and stuff that calls DateTime's rfc822():
> 
> 
> 
> global name 'localzone' not defined. (in DateTime, line 1441)

i've checked with aj, and kapil, and they both agreed that it's a bug.  
and i've filed it at
collector.zope.org/Zope/626

> 
> 
> 
> Indeed 'localzone' is not defined in DateTime.py. Changed the reference to 'timezone' and it works.
> 
> 
> 
> Is it the way it should work? Or should I do something else?
> 
> 
> 
> Thanks in advance.
> 
> 
> 
> Regards,
> 
> Wankyu Choi
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>