bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54916: 4 invalid dates reported by "date"


From: Paul Eggert
Subject: bug#54916: 4 invalid dates reported by "date"
Date: Wed, 13 Apr 2022 12:19:38 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 4/13/22 06:30, Martins Ozolins via GNU coreutils Bug Reports wrote:
    ozoma@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]