GNU bug report logs - #41107
date --date '20180325 02:58:00' fails

Previous Next

Package: coreutils;

Reported by: Julien Demaria <julien.demaria <at> acri-st.fr>

Date: Wed, 6 May 2020 08:47:02 UTC

Severity: normal

To reply to this bug, email your comments to 41107 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#41107; 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):

From: Julien Demaria <julien.demaria <at> acri-st.fr>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: date --date '20180325 02:58:00' fails
Date: Wed, 6 May 2020 07:59:13 +0000
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




This bug report was last modified 3 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.