On Sun, Aug 14, 2011 at 04:24:12AM -0700, David Liontooth wrote:
> Package: coreutils
> Version: 8.5-1
> Severity: normal
> 
> 
> Odd bug in date on one day within one hour:
> 
> date -d '2010-03-13 02:00:00' +%Y-%m-%d\ %H:%M:%S
> 2010-03-13 02:00:00
> 
> date -d '2010-03-14 01:59:59' +%Y-%m-%d\ %H:%M:%S
> 2010-03-14 01:59:59
> 
> date -d '2010-03-14 02:00:00' +%Y-%m-%d\ %H:%M:%S
> date: invalid date `2010-03-14 02:00:00'
> 
> date -d '2010-03-14 02:59:59' +%Y-%m-%d\ %H:%M:%S
> date: invalid date `2010-03-14 02:59:59'
> 
> date -d '2010-03-14 03:00:00' +%Y-%m-%d\ %H:%M:%S
> 2010-03-14 03:00:00
> 
> date -d '2010-03-15 02:00:00' +%Y-%m-%d\ %H:%M:%S
> 2010-03-15 02:00:00
> 
> Error consistent on eight debian squeeze servers in LA time zone.
> 

Date between 2010-03-14 02:00:00 and 02:59:59 never existed in the LA
time zone, as they correspond to the daylight saving time change.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurel...@aurel32.net                 http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to