bug-sh-utils
[Top][All Lists]
Advanced

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

date -d 'KST ...'


From: Gaspar Bakos
Subject: date -d 'KST ...'
Date: Thu, 17 Jan 2002 19:05:11 -0500 (EST)

Hi,

Although I don't believe this is a bug, it is sth strange or not
consistent. I have a problem with zoneinfo. If I set the timezone with eg.
tzselect to eg. Korea/Seoul (or simply  export TZ='Asia/Seoul'), then
saying 

date '+%Z %Y-%m-%d %H:%M:%S'
returns
KST 2002-01-18 08:56:43

Now, if I say
date -d  'KST 2002-01-18 08:56:43'
date: invalid date `KST 2002-01-18 08:56:43'

Other timezones work  well, such as
date -d 'EST 2002-01-18 08:56:43'
Fri Jan 18 22:56:43 KST 2002

Why is this? If someone could drop a few lines...

System redhat 7.1 linux 
glibc-profile-2.2.4-19
compat-glibc-6.2-2.1.3.2
glibc-utils-2.0.4-1
glibc-2.2.2-10
glibc-devel-2.2.2-10

Cheers,
Gaspar





reply via email to

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