[Zope] ZopeTime() not matching system time.

Bill Anderson bill.anderson@libc.org
Thu, 13 Jan 2000 01:28:49 -0700


Anthony Baxter wrote:
> 
> >>> Bill Anderson wrote
> > On one of my sites, I am stuffing a database field with a datetime.
> > However, for some reason, the return form ZopeTime() seems to be almost
> > 5 hours off.
> 
> Would this site perchance be on UTC-5 or UTC+5 ? If so, it's probably
> just that the TZ env var isn't being set inside the environment that
> Zope's running inside. So it's falling back to UTC.

Nope, 7. That's what is throwing me the most. that and the minutes seem
to be about 1.5 ahead of the system's clock ...

In fact, it even reports the correct timezome. :^/

-- 
In flying I have learned that carelessness and overconfidence are 
usually far more dangerous than deliberately accepted risks. 
          -- Wilbur Wright in a letter to his father, September 1900