1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2026-10-28 15:15:08 +03:00

tests: date: check that options can follow the format string

* tests/date/date.pl (@Tests): Add the test case.
This commit is contained in:
Collin Funk
2026-02-13 22:26:59 -08:00
parent e78328e707
commit fec63bfa03

View File

@@ -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'",