[Zope] Dates off by one day
Dennis Allison
allison at shasta.stanford.edu
Mon Feb 27 10:17:30 EST 2006
It is likely to be a problem with timezones. Zope recognizes one
particular date format as UTC and not local. If that sounds like
the problem, I can provide a patch.
On Sat, 25 Feb 2006, Kevin Carlson wrote:
> Recently moved to a new server farm and am having a problem with dates
> from MySQL that are rendered using strftime. The date in MySQL is
> correct (e.g. 2005-01-22) but if the date is rendered with strftime the
> date displayed is one day earlier (e.g., 2005-01-21). MySQL and Zope
> are on separate servers as they were before the switch to the new
> servers but this didn't happen in the old environment.
>
> Anyone have any thoughts on this?
>
> Thanks,
>
> Kevin
> _______________________________________________
> Zope maillist - Zope at 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 )
>
--
More information about the Zope
mailing list