[Zope] Dates off by one day

Andrew Milton akm at theinternet.com.au
Sat Feb 25 01:38:11 EST 2006


+-------[ Kevin Carlson ]----------------------
| 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?

Sounds like something is applying a timezone transformation. Check the timezones on
both the servers...

-- 
Andrew Milton
akm at theinternet.com.au


More information about the Zope mailing list