GNU bug report logs -
#8356
date bug
Previous Next
Reported by: Fulvio Donazzolo <fulvio.bz <at> gmail.com>
Date: Sun, 27 Mar 2011 18:11:02 UTC
Severity: normal
Tags: moreinfo, notabug
Done: Bob Proulx <bob <at> proulx.com>
Bug is archived. No further changes may be made.
Full log
Message #16 received at 8356 <at> debbugs.gnu.org (full text, mbox):
gmail wrote:
> I notice this behavior with coreutils-8.9 :
>
> [root <at> pompomgalli]# /bin/date -d "02:50"
> /bin/date: invalid date `02:50'
>
> The universal time parsing seems not affected :
>
> [root <at> pompomgalli]# /bin/date -u -d "02:50"
> Sun Mar 27 02:50:00 UTC 2011
Thank you for adding additional information to this bug report.
However this is not a bug in date but rather a misunderstanding of
Daylight Saving Time in your timezone.
With the transition from CET (Central European Time) to CEST (Central
European Summer Time) the 02:00 - 03:00 hour of time has been skipped.
It does not exist and is not a valid time. This is not a bug in date.
This is by design of the law that specifies your timezone.
To avoid the political boundaries you can simply avoid the time near
to time change such as using 12:00 noon or you can use UTC which never
changes to or from daylight saving time.
Please see the FAQ for a detailed explanation.
http://www.gnu.org/software/coreutils/faq/#The-date-command-is-not-working-right_002e
Bob
This bug report was last modified 14 years and 50 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.