bug-coreutils
[Top][All Lists]
Advanced

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

Timezone handling in date command


From: Burba, Viktor
Subject: Timezone handling in date command
Date: Thu, 19 Feb 2009 13:11:51 +0100

Dear guys,
 
I have expierenced the following unexpeted behaviour by using the "date"
command on SuSE SLES10(x86_64):
 
I have timezone setup to Asia/Dubai (GMT+4), which has short name GST
(Gulf Standart time) 
 
#date
Thu Feb 20 20:00:00 GST 2009
#date --utc -d "now"
Thu Feb 20 16:00:00 UTC 2009          - OK  UTC+4
#date --utc -d "Thu Feb 20 20:00:00 GST 2009"
Thu Feb 20 10:00:00 UTC 2009          - ???  UTC+10
 
I think here some name problems with GST. Because there are four
timezones with the same short name GST
 
Guam Standart Time UTC+10
Gulf Standart Time UTC+4
Greenland Standart Time UTC-3
South Georgia Time UTC-2
 
Here looks like date uses UTC+10 for name GST, which is also timezone
GST but Guam Standart time and not Gulf Standart time.
How can I force date to use another time offset for GST name?
 
 
Best regards,
Viktor Burba


reply via email to

[Prev in Thread] Current Thread [Next in Thread]