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.
3) TZ should be set per user not system-wide. I don't think it is a good idea to set the TZ as mentioned earlier, but it could be used in special cases if you know what you are doing I guess. Certainly not something to recommend as default though.
Thanks for the feedback!
Cheers,
Tom
-- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1