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

util-linux: bug #37036 : CEST is not defined in info date



Hello Torsten, Hi all,

Here is what the initial submitter of the bug report wrote :

"Observe:

bash-2.02# hwclock --utc --set --date='Sun May  2 16:20:49 CEST 1999'
bash-2.02# hwclock --utc --show
Sun May  2 17:20:54 1999  -0.915558 seconds

Somehow that doesn't strike me as correct behaviour..

Wichert."

And Torsten found this :

"Maybe even more interesting is this:

torsten@pulsar:~ $ date -d 'Sun May  2 16:20:49 CEST 1999'
Sun May  2 17:20:49 CEST 1999
torsten@pulsar:~ $ date -d 'Sun May  2 16:20:49 CET 1999'
Sun May  2 17:20:49 CEST 1999

It seems that date ignores the daylight saving flag of the timezone.
I don't know why hwclock and date share the same behaviour but I don't
want to check now as I have to go to bed..."

I had a look to the info pages of date. In the node `Timezone item', one
can't find the correction for `CEST' : this isn't defined.

Don't you think that the problem is simply here ? If this is the case,
isn't it a documentation issue ?

Cheers,

-- 
Thierry LARONDE
thierry.laronde@polynum.com
website : http://www.polynum.com


Reply to: