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: Sylvestre Ledru
Subject: Re: [patch] date: reject invalid -d values
Date: Sun, 11 Jan 2026 17:16:03 +0100
User-agent: Mozilla Thunderbird Beta

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)

Cheers
S

Attachment: 0001-tests-date-add-another-test-parenthesis-comment.patch
Description: Text Data


reply via email to

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