Subject: bug#8356: date bug

From: Bob Proulx <[email-masked]>
Date: Sun, 27 Mar 2011 13:44:41 -0600

tags 8356 + moreinfo notabug
thanks

Fulvio Donazzolo wrote:
> $ date -d "02:50"
> date: invalid date `02:50'
> 
> $ date -d "01:50"
> Sun Mar 27 01:50:00 CET 2011
> 
> $ date -d "03:50"
> Sun Mar 27 03:50:00 CEST 2011
> 
> bug only with "02:XX"

Thank you for your report but this is almost certainly not a bug in
date but a misunderstanding of Daylight Savings Time in your timezone.

It looks to me like you have transitioned from CET) Central European
Time to CEST (Central European Summer Time).  During the transition
the local time "springs forward" and skips an hour.  During that hour
there is not any 02:XX time that is valid.  It does not exist.

Please read this FAQ and see if it matches your problem.  It includes
quite a lot of description of the issues.

  http://www.gnu.org/software/coreutils/faq/#The-date-command-is-not-working-right_002e

Bob