ISODATE, timezone offset and daylight saving
My local timezone is CET and as we've currently got daylights saving on, we're two hours ahead of UTC. So the offset - when using the ISODATE format - should be +0200. Instead it is +0100. I'm on glibc 2.4. Distro is SUSE 10.1, syslog-ng is 1.6.8. The machines hardware clock is in UTC, localtime time CEST. tournesol:/var/log # date Fri Jul 28 18:19:56 CEST 2006 tournesol:/var/log # date -u Fri Jul 28 16:20:01 UTC 2006 tournesol:/var/log # tournesol:/var/log # date +%z +0200 Am I likely to be doing something wrong? From /var/log/mail: 2006-07-28T18:06:39+0100 tournesol postfix/qmgr[7815]: 3E62737129: removed /Per Jessen, Zürich
On Fri, 2006-07-28 at 18:22 +0200, Per Jessen wrote:
My local timezone is CET and as we've currently got daylights saving on, we're two hours ahead of UTC. So the offset - when using the ISODATE format - should be +0200. Instead it is +0100.
I'm on glibc 2.4. Distro is SUSE 10.1, syslog-ng is 1.6.8. The machines hardware clock is in UTC, localtime time CEST.
tournesol:/var/log # date Fri Jul 28 18:19:56 CEST 2006 tournesol:/var/log # date -u Fri Jul 28 16:20:01 UTC 2006 tournesol:/var/log # tournesol:/var/log # date +%z +0200
Am I likely to be doing something wrong? From /var/log/mail:
2006-07-28T18:06:39+0100 tournesol postfix/qmgr[7815]: 3E62737129: removed
This bug was fixed in 1.6.9. -- Bazsi
Balazs Scheidler wrote:
This bug was fixed in 1.6.9.
OK, thanks. I guess SUSE could do with a refresh of syslog-ng. /Per Jessen, Zürich
participants (2)
-
Balazs Scheidler
-
Per Jessen