On Mon, Mar 11, 2013 at 10:33 AM, Lester Caine <lester@xxxxxxxxxxx> wrote: > Tom Evans wrote: >> >> Don't run Apache in a locale with DST if you do not want local DST >> times in the logs. Use the C locale instead. > > > The only thing that is consistent is UTC, and by default that should be all > that is running on a server. A client may well be in the same location, but > it's the client viewing information that should be the point at which > DISPLAY of times is modified to a particular time zone view. > The only thing that is consistent is that the locale that you run your programs under, and hence how they format dates, is entirely under the control of the person running the program. UTC may well make perfect sense for you, it may not for someone else, and therefore it should be configurable. If you want UTC times reported, use a locale that has UTC as the timezone. Don't use a locale which is subject to DST and then complain that your logged dates have DST in them! If you're running windows, then your only option is to set the time zone on the machine to UTC. On everything that is not windows, running httpd in the C locale (LC_ALL=C) and/or setting the timezone (TZ="UTC") has the same effect. Cheers Tom --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx