[Zope] global name 'localzone' not defined?
Andreas Jung
Andreas Jung <lists@andreas-jung.com>
Sun, 20 Oct 2002 11:55:53 +0200
This bug is fixed in the CVS. Update DateTime.py from the CVS
if needed.
-aj
--On Sonntag, 20. Oktober 2002 17:27 +0800 Bakhtiar Abdul Hamid
<kdie@nstp.com.my> wrote:
> 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 )
>>
>
>
> _______________________________________________
> 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 )
---------------------------------------------------------------------
- Andreas Jung http://www.andreas-jung.com -
- EMail: andreas at andreas-jung.com -
- "Life is too short to (re)write parsers" -
---------------------------------------------------------------------