[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
date and daylight saving
From: |
Sébastien BLAISOT |
Subject: |
date and daylight saving |
Date: |
Fri, 03 Apr 2009 22:24:06 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
Hi,
I observe a strange behaviour in the date command when daylight saving
occurs, using the french timezone (europe/paris)
can you explain the followind differences between this three commands :
coreutils 5.2.1 :
$ date 033000052009
lun mar 30 00:05:00 CEST 2009
$ date -d yesterday
dim mar 29 00:05:00 CET 2009
coreutils 7.2 :
$ date 033000052009
lun mar 30 00:05:00 CEST 2009
$ date -d yesterday
sam mar 28 23:05:00 CET 2009
$ date --date '03/30/2009 00:05 1 days ago'
dim mar 29 00:05:00 CET 2009
can you explain me :
* why the behaviour when crossing daylight saving changes has changed
back to the old behaviour between 5.2.1 and 7.2 ?
* why the last to commands doesn't return the same ? (different
behaviour when crossing daylight saving changes)
info date says :
"When a relative item causes the resulting date to cross a boundary
where the clocks were adjusted, typically for daylight saving time, the
resulting date and time are adjusted accordingly. "
I'm not sure to understand very well the exact meaning of this. does it
mean that 5.2.1 behaviour is the described one or that 7.2 behaviour is
correct regarding to the manual ?
thanks in advance,
--
Sébastien BLAISOT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- date and daylight saving,
Sébastien BLAISOT <=