bug-coreutils
[Top][All Lists]
Advanced

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

bug#80118: Don't just say "invalid date"


From: Dan Jacobson
Subject: bug#80118: Don't just say "invalid date"
Date: Sun, 04 Jan 2026 16:33:43 +0800
User-agent: Thunderbird for Android

Well okay, but it's just like "Warning: applicant lacks a ****s, assuming 
female.  Are you sure you're really should say "warning"? I would warn only if 
every field is just two digits and they're  all below 13 too just for to make 
it more fun. Or two of them are below 13. Otherwise I would just say "info:".

On January 4, 2026 8:58:16 AM GMT+08:00, Collin Funk <collin.funk1@gmail.com> 
wrote:
>Dan Jacobson <jidanni@jidanni.org> writes:
>
>>>  $ date --debug -d '01/30/2026 02:00 PM ET'
>>   date: warning: value 1 has less than 4 digits. Assuming MM/DD/YY[YY]
>>
>> What does it mean "value 1" ?
>>
>> Don't tell me. Just make the error message clearer please.
>>
>> And I don't see anything with less than four digits, unless you want four 
>> digit days and months... 
>
>It is refering to the month "01" at the start of the given date string.
>
>Some countries use YYYY/MM/DD for dates [1].
>
>Collin
>
>[1] https://en.wikipedia.org/wiki/List_of_date_formats_by_country
>





reply via email to

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