[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: confusing timezone reporting
From: |
Andreas Schwab |
Subject: |
Re: confusing timezone reporting |
Date: |
Wed, 17 Aug 2005 17:36:53 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
walter harms <address@hidden> writes:
> env TZ="UTC-2" date
> Mi Aug 17 15:51:30 UTC 2005
> ^^^^^
>
> as you see time is ok but the timezone is wrong (should be UTC-2).
It's not wrong. You explicitly say that the timezone name is UTC and the
offset is 2 hours. If you want a different timezone name you need to use
a different name.
See
<http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html#tag_08_03>
for the syntax of the the TZ value.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."