From fec63bfa032baca29744518705a4e1341673ec5b Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Fri, 13 Feb 2026 22:26:59 -0800 Subject: [PATCH] tests: date: check that options can follow the format string * tests/date/date.pl (@Tests): Add the test case. --- tests/date/date.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/date/date.pl b/tests/date/date.pl index 69d09d0fbb..a6d138d1b1 100755 --- a/tests/date/date.pl +++ b/tests/date/date.pl @@ -240,6 +240,8 @@ my @Tests = ['tz-6', '+%Z', {OUT=>"UTC"}], ['tz-7', '+%Z', {OUT=>"JST"}, {ENV=>'TZ=JST-9'}], + ['arg-order', '+%Y-%m-%d -d 2026-02-13', {OUT=>"2026-02-13"}], + ['ns-relative', '--iso=ns', "-d'1970-01-01 00:00:00.1234567 UTC +961062237.987654321 sec'", -- 2.47.3