[Zope] ZopeTime not synchronized with server - Follow-up Information
complaw@hal-pc.org
complaw@hal-pc.org
Fri, 12 Oct 2001 13:08:08 GMT
Incidentally, something not specificed in my previous message, I'm looking for
DTML code to set up a date field in an HTML form.
<dtml-var ZopeTime> does not give the correct date/time (it is several hours off
from the server on which Zope runs.
<dtml-var expr="_.DateTime()"> also does not give the correct date/time (same
problem).
<dtml-var expr="_.DateTime()-0.25"> does give the correct date. However, this
seems to be an ugly kludge that doesn't address the real problem.
As I said before, checking date at the console on the server gives the correct
result.
Cheers,
Ron
> I'm running Zope on a server that is showing the correct date/time. However,
> when I have Zope write a date, after 5:00 pm, it shows tomorrow's date. It is
> as though Zope were on GMT and not taking the time from the server. Is there
a
> way to reset Zope to the correct time, or have it take time directly from the
> server?
>
> Thanks in advance for any help.
>
> Ron
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>