On 3/6/07, Michael Hofmann <[EMAIL PROTECTED]> wrote: > I am using LFS6.2 with lighttpd and php4. My hardware clock is set to UTC (as > set in /etc/sysconfig/clock), my timezone is set to Europe/Berlin (UTC+1). > Consequently, 'date' shows the correct local time. However on login I get UTC > shown with the '\t' parameter in /etc/issue. Also php returns time in UTC. > Anybody else seen this? Where is the problem, or how can I analyze it further?
Did you actually set the correct local timezone in /etc/localtime? When you're a shell, do you have $TZ set? If so, is there any difference between the output of `date' when the variable is set vs. unset? I don't think it should matter how the hardware time is stored. Those utilities are all asking for the system time with time zone modifications from /etc/localtime. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
