Bugzilla server's system time
diptongo at gmail.com
Fri Feb 22 19:35:44 CST 2013
Replying Matt Mackall:
>On Thu, 2013-02-21 at 15:03 +0400, Nikolaj Sjujskij wrote:
>> Den 2013-02-16 03:24:41 skrev Matt Mackall <mpm at selenic.com>:
>>> On Thu, 2013-02-14 at 23:44 +0100, Isaac Jurado wrote:
>>>> I think the bugzilla server's clock is not on time. I posted a
>>>> comment ten minutes ago and it appears as 17:40:53 UTC when it
>>>> should have been 22:40:53 UTC. Maybe it's just the timezone,
>>>> locale or the Bugzilla configuration.
>>> The server's time was correct, however it's in the EST timezone and
>>> Bugzilla defaults users to the server's timezone. I've changed the
>>> default to UTC.
>> There's something still incorrect about time there. I have
>> Europe/Moscow (UTC+4) set in my user preferences and a few minutes
>> ago I've added a comment:
>> http://bz.selenic.com/show_bug.cgi?id=3836#c3. Its date is displayed
>> like "2013-02-21 09:52:34 MSK" which is... er... actually, I don't
>> know what it is. Doesn't seem like usual "UTC as local" or vice
>> versa. As of writing, it's 14:59:05, which is 10:59 UTC. Gentoo
>> bugzilla displays time as expected.
> I'm at a loss, then. There's a total of one timezone setting in
> Bugzilla, and I've toggled it. The system clock and timezone on the
> server are correct. Short of setting the system timezone to UTC,
> there's not much I can do.
Nikolaj is right. I just made a change to see the timestamp at 1:22 AM
UTC and the bugzilla page shows a 5 hour lapse: 20:22 PM UTC of the day
After changing my preferences to my time zone (CET), the same page makes
the conversion properly, but still with the wrong hour: 21:22 PM CET.
It looks like Bugzilla is working allright, and the problem may come
from a system misconfiguration. Or maybe even the NTP daemon is not
working properly, who knows?
"The noblest pleasure is the joy of understanding."
Leonardo da Vinci
More information about the Mercurial-devel