Joined: Wed Dec 05, 2007 11:57 am Posts: 64 Location: Lisbon
Setting computer clock to UTC = problem! (SOLVED)
I'm using zoneminder for about 3 months now, and Iï¿½ve detected a small bug that has some impact on the user interface.
Iï¿½m using Ubuntu 7.10 server with zoneminder 1.22.3 installed from zoneminder_1.22.3-8_i386.deb, running ntp to adjust time.
When Iï¿½ve installed ubuntu, Iï¿½ve set the system clock to UTC as advised in most ubuntu setup guides.
However, since Iï¿½m in Portugal, my real time is UTC-1.
As a result of this setting (I think) the time information in the main zoneminder page is always in advance 1 hour (in the upper left corner).
The total for events by hour is always 0.
If I click on one of this ï¿½0ï¿½, Iï¿½ll get an empty list; however, if I change the filter from -1 hour to -2 hour, Iï¿½ll get the list of events from the last hour.
Besides this, all clock information is correct across all events.
Do I have to change the ubuntu clock setting to local time instead of UTC?
How can I do this after the system is installed?
I appreciate if anyone can give me a clue to solve this issue.
Last edited by caladeira on Thu Feb 07, 2008 1:17 am, edited 1 time in total.
that "Some applications (such as PHP) have separate timezone settings from the system timezone". Maybe that is what's at work here? I'm not sure how old that document is, though, vs. ubuntu 7.10.
From ubuntuforums.org (a fantastic resource):
This supposedly allows you to change timezone settings. That's an interesting issue you've found. Implementing time zones on servers can be a bit complex because different people (and programs) expect different things. There's a perfectly valid argument for setting your server clock to UTC and then relying on programs to make the calculation of what time zone you are in, but personally, on a standalone ZM box I would just set the system time as the local time and be done with it.
Users browsing this forum: Google [Bot] and 4 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum