On 05/16/2011 07:58 PM, Heiko Baums wrote:
Am Mon, 16 May 2011 19:29:57 -0300 schrieb Gerardo Exequiel Pozzi<vmlinuz386@yahoo.com.ar>:
Having logs in UTC avoid this. Is the task of the program that parses the log to show (if needed) the time in your current timezone. And what if I parse the log with my own eyes without a software parser? Then I also want to see the local time without calculating the timezone by myself.
Oh nothing to do (report to upstream :P) No problem, use timezone on logs, just keep in mind the holes and duplicated times, during DST change.
I think in a desktop system, yes. But if you are "server", users wants your timezone (from where are conected) instead of local timezone of the server. Or I am missing something? I guess you're missing something, because on servers the timezone setting is only for the server and this is also located only at one place at a time and the timezone data is used to set the server's timestamps. The users' timezone is usually set at their clients which connect to these servers. Depends on client/server of course. If the server needs to store files from different countries it should set the timezone to UTC anyway I guess. Naturally, avoinding lots of issues. Heiko
-- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1