Luiz Fernando B. Ribeiro wrote:
<span tal:content="python: news['Date'].strftime('%d/%m/%Y')">Date</span>
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 - [email protected]
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 )