coreutils
[Top][All Lists]
Advanced

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

Re: [patch] date: reject invalid -d values


From: Pádraig Brady
Subject: Re: [patch] date: reject invalid -d values
Date: Sun, 11 Jan 2026 18:53:02 +0000
User-agent: Mozilla Thunderbird Beta

On 11/01/2026 16:16, Sylvestre Ledru wrote:
Hello

Le 08/01/2026 à 05:25, Collin Funk a écrit :
Sylvestre Ledru <sylvestre@debian.org> writes:

Le 05/01/2026 à 01:11, Collin Funk a écrit :
Interesting, thanks!

If this is ok,  I will add some tests, i don't think it is properly covered 
today!
Yep, I don't see it anywhere. Some tests in date.pl would be helpful,
thanks!
Attached! it should do it!
Great, thanks. I pushed it with one more test case added, just to check
that comments enclosed in parentheses in the middle of dates are
handled.

Thanks!

One more corner case :)

((foo)2026-01-05)

Pushed at:
https://github.com/coreutils/coreutils/commit/210c000b8
cheers,
Padraig



reply via email to

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