GNU bug report logs -
#41106
date --date '20180325 02:58:00' fails
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41106 in the body.
You can then email your comments to 41106 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#41106
; Package
coreutils
.
(Wed, 06 May 2020 08:47:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Julien Demaria <julien.demaria <at> acri-st.fr>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Wed, 06 May 2020 08:47:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Sorry I just found the reason in the FAQ... :-(
https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-command-is-not-working-right_002e
I am in local daylight saving time change case.
Thanks
________________________________________
De : Julien Demaria
Envoyé : mercredi 6 mai 2020 09:59
À : bug-coreutils <at> gnu.org
Objet : date --date '20180325 02:58:00' fails
Hi,
We found this very suspect behavior:
$ date --date '20180325 02:58:00'
date: invalid date `20180325 02:58:00'
but for the previous day it works...:
$ date --date '20180323 02:58:00'
Fri Mar 23 02:58:00 CET 2018
Is it a bug?
Adding -u or setting TZ seems a workaround.
Tested with version 8.28 on Ubuntu 18.04.4 LTS
and also with version 8.13 on Debian GNU/Linux 7
Thanks in advance,
Julien
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#41106
; Package
coreutils
.
(Wed, 06 May 2020 13:40:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 41106 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
That's showing up your bright stupidity but you future is still bright! keep working on that~! lol... just joke added~ :)
2020년 5월 6일 수요일 오후 05시 47분 51초 GMT+9, Julien Demaria <julien.demaria <at> acri-st.fr> 작성:
Sorry I just found the reason in the FAQ... :-(
https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-command-is-not-working-right_002e
I am in local daylight saving time change case.
Thanks
________________________________________
De : Julien Demaria
Envoyé : mercredi 6 mai 2020 09:59
À : bug-coreutils <at> gnu.org
Objet : date --date '20180325 02:58:00' fails
Hi,
We found this very suspect behavior:
$ date --date '20180325 02:58:00'
date: invalid date `20180325 02:58:00'
but for the previous day it works...:
$ date --date '20180323 02:58:00'
Fri Mar 23 02:58:00 CET 2018
Is it a bug?
Adding -u or setting TZ seems a workaround.
Tested with version 8.28 on Ubuntu 18.04.4 LTS
and also with version 8.13 on Debian GNU/Linux 7
Thanks in advance,
Julien
[Message part 2 (text/html, inline)]
Reply sent
to
Bernhard Voelker <mail <at> bernhard-voelker.de>
:
You have taken responsibility.
(Wed, 06 May 2020 15:42:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Julien Demaria <julien.demaria <at> acri-st.fr>
:
bug acknowledged by developer.
(Wed, 06 May 2020 15:42:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 41106-done <at> debbugs.gnu.org (full text, mbox):
tag 41106 notabug
thanks
On 2020-05-06 10:04, Julien Demaria wrote:
>> $ date --date '20180325 02:58:00'
>> date: invalid date `20180325 02:58:00'
> Sorry I just found the reason in the FAQ... :-(
> https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-command-is-not-working-right_002e
> I am in local daylight saving time change case.
Indeed, the debug option shows it:
date --debug --date '20180325 02:58:00'
date: parsed number part: (Y-M-D) 2018-03-25
date: parsed time part: 02:58:00
date: input timezone: system default
date: using specified time as starting value: '02:58:00'
date: error: invalid date/time value:
date: user provided time: '(Y-M-D) 2018-03-25 02:58:00'
date: normalized time: '(Y-M-D) 2018-03-25 03:58:00'
date: --
date: possible reasons:
date: non-existing due to daylight-saving time;
date: numeric values overflow;
date: missing timezone
date: invalid date '20180325 02:58:00'
As such, I'm marking this issue as 'notabug' in our bug tracker.
Have a nice day,
Berny
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 04 Jun 2020 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 99 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.