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

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



On Wed, Jun 28, 2006 at 10:27:25 +0200, 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 ?

What's your locale set to? (I suppose LC_TIME is especially
interesting.)

On my machine:

  % locale
  LANG=en_GB.UTF-8
  LANGUAGE=en_GB:en_GB:en
  LC_CTYPE="en_GB.UTF-8"
  LC_NUMERIC="en_GB.UTF-8"
  LC_TIME="en_GB.UTF-8"
  LC_COLLATE="en_GB.UTF-8"
  LC_MONETARY="en_GB.UTF-8"
  LC_MESSAGES="en_GB.UTF-8"
  LC_PAPER="en_GB.UTF-8"
  LC_NAME="en_GB.UTF-8"
  LC_ADDRESS="en_GB.UTF-8"
  LC_TELEPHONE="en_GB.UTF-8"
  LC_MEASUREMENT="en_GB.UTF-8"
  LC_IDENTIFICATION="en_GB.UTF-8"
  LC_ALL=
  % date
  Wed Jun 28 09:55:16 BST 2006

/M

-- 
Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
magnus@therning.org             Jabber: magnus.therning@gmail.com
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
     -- Albert Einstein

Attachment: pgplYrG0aG0gA.pgp
Description: PGP signature


Reply to: