[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BUG: date 7.1 - reading date string
From: |
Sven Joachim |
Subject: |
Re: BUG: date 7.1 - reading date string |
Date: |
Thu, 04 Feb 2010 16:35:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) |
Am 04.02.2010 um 14:45 schrieb Klaus Bramstedt:
> I used the command
> date -d "$DATE"
> for almost all dates between Aug 2002 end Jan 2010 in a script.
> Date has a format like this
> "2003-03-30 02:08:17"
> However, 7 of 42048 randomly distributed dates in the list failed:
>
> date: ungültiges Datum „2003-03-30 02:08:17“
> date: ungültiges Datum „2003-03-30 02:25:58“
> date: ungültiges Datum „2005-03-27 02:08:41“
> date: ungültiges Datum „2006-03-26 02:41:44“
> date: ungültiges Datum „2008-03-30 02:08:09“
> date: ungültiges Datum „2009-03-29 02:09:26“
> date: ungültiges Datum „2007-03-25 02:03:47“
>
> For me, this seems to be a bug in the date reading part. The critical
> combination seems to be end of March and '02' as hour.
Yes, it's the non-existent hour during DST adjustment on the last Sunday
in March. These dates are indeed invalid in the German timezone.
Sven