GNU bug report logs - #54916
4 invalid dates reported by "date"

Previous Next

Package: coreutils;

Reported by: "Martins Ozolins" <mo98 <at> inbox.lv>

Date: Wed, 13 Apr 2022 15:32:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54916 in the body.
You can then email your comments to 54916 AT debbugs.gnu.org in the normal way.

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#54916; Package coreutils. (Wed, 13 Apr 2022 15:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Martins Ozolins" <mo98 <at> inbox.lv>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 13 Apr 2022 15:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Martins Ozolins" <mo98 <at> inbox.lv>
To: bug-coreutils <at> gnu.org
Subject: 4 invalid dates reported by "date"
Date: Wed, 13 Apr 2022 16:30:04 +0300
[Message part 1 (text/html, inline)]

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Wed, 13 Apr 2022 19:20:02 GMT) Full text and rfc822 format available.

Notification sent to "Martins Ozolins" <mo98 <at> inbox.lv>:
bug acknowledged by developer. (Wed, 13 Apr 2022 19:20:02 GMT) Full text and rfc822 format available.

Message #10 received at 54916-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Martins Ozolins <mo98 <at> inbox.lv>
Cc: 54916-done <at> debbugs.gnu.org
Subject: Re: bug#54916: 4 invalid dates reported by "date"
Date: Wed, 13 Apr 2022 12:19:38 -0700
On 4/13/22 06:30, Martins Ozolins via GNU coreutils Bug Reports wrote:
>     ozoma <at> ozoma-ThinkPad-X250:$ date +%s --date="1981-04-01"
>     date: invalid date ‘1981-04-01’

This is because your invocation is equivalent to:

date +%s --date="1981-04-01 00:00:00"

and there was no midnight at that date in Latvia.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 12 May 2022 11:24:07 GMT) Full text and rfc822 format available.

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

Previous Next


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