I am a newbie to zope and squish. My squishdot starts giving errors after
midnight. the offending error is Unrecognised Time Zone in DateTime.py
I am on GMT+530(India). As i donot know python, can you please tell where
i should add this timezone in DateTime.py, so this problem is resolved.

Rajil Saraswat

On Fri, 7 Jul 2000, Curtis Maloney wrote:

> Greetings,
>       In my current project, I have to print a lot of dates.  Fine, not a 
> problem... _.DateTime().strftime() is just the method, right?
>       Wrong.
>       The people who want this site want the local time, not UTC+0 that strftime 
> enforces.
>       So, I created a tiny patch which adds  _.DateTime().strfltime(), which works 
> identically, except it passes LOCALTIME instead of GMTIME.
>       It's tiny, it's simple, but it's REALLY HANDY!
> Have a better one,
>       Curtis Maloney.
> <dtml-var standard_work_disclaimer>

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to