Re: [Zope] strftime and timezone
What is simple for you may be complex for others. I think that is the essence of this forum, to share your wealth of knowledge and experience with the less priviledge. kamal. At 08:34 PM 3/18/2005 +0100, Dieter Maurer wrote: Hong Yuan wrote at 2005-3-18 11:26 +0800: > ... [DM] >>The easiest way would be to use a different (and unique) notation for >>your timezone, e.g. "GMT+8". >> >> >Well, it turns out not to be so easy. I found that even a notation like >"GMT+8" is not unique in meaning, see >http://docs.sun.com/app/docs/doc/806-5189/6je7g4sr7?a=view. It can mean >8 hours east of GMT, or 8 hours west of GMT!!! And again zope DateTime >seems to interprete this differently than the Linux operation system. Apparently, it is very simple to make simple things extremely complex... I noted a second option in my previous message -- this you see it? -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005 -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] strftime
Luiz Fernando B. Ribeiro wrote: Date In a strange behaviour using strftime is displaying dates with 1 day past, example 10/05/2005 is being show as 09/05/2005. Well, it certainly sounds like a timezone issue, maybe in ZMySQLDA, maybe in DateTime itself. Boil it down to a minimal reproducible test case. If that only involves DateTime, then submit to the Zope collector on Zope.org, if it needs ZMySQLDA to happpen, report the issue in the mysql-python collector on SourceForge... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )