On Tue, May 17, 2011 at 12:08 AM, Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> wrote:
On 05/16/2011 06:17 PM, Tom Gundersen wrote:
On Mon, May 16, 2011 at 9:51 PM, Gerardo Exequiel Pozzi
With timezone I have a more strong points:
1) System should use UTC.
Then you loose information. System time is already in UTC from the kernel, /etc/localtime provide information about the current timezone as well. I think people would find it surprising if we do something non-standard here.
I agree.
2) Daemons should use UTC (logger, cron, ...)
The daemons know both UTC and the current localtime, so they should know themselves which one to use.
Fixme if I am wrong: So (for logger) during entering/exiting from DST period you will see duplicate entries and "no activity" during one hour. For cron its a bit intelligent to avoid a task can be executed two times or zero times.
I would say that if programs use localtime and cannot deal nicely with DST, then that's a bug (they should use UTC directly). It would be wrong to force all daemons to use UTC all the time though. -t