[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why date command don't use my time zone ?



KLEIN Stéphane wrote:
> Hello,
>
> I used tzconfig to set my time zone on Europe/Paris.
>
> I've logout/login and call date command :
>
> date
> Wed Jun 28 08:26:19 UTC 2006
>
> date command use UTC time zone and not Europe/Paris.
>
> How can I fix that ?
>
> Thanks for your help
> --Stéphane
>
>
Hi Stéphane.

The man pages for tzconfig mention that tzconfig changes /etc/timezone. 
Does

cat /etc/timezone

return Europe/Paris, or does it say something else?  Might be a good
diagnostic tool to let you know if tzconfig is working as you expect.

A long shot: if

date

is an alias for

date -u,

then that would account for your problem.

Good luck!

--John



Reply to: