From: Pádraig Brady Date: Thu, 12 Feb 2026 14:50:16 +0000 (+0000) Subject: tests: date: check dotted EU dates in combination X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4c6e3cb7fd4747430e1bdd000402a916f1b3a71;p=thirdparty%2Fcoreutils.git tests: date: check dotted EU dates in combination * tests/date/date.pl: Add other date elements to ensure abbreviated dotted dates are parsed appropriately. Corresponds to gnulib commit 451042cb76 --- diff --git a/tests/date/date.pl b/tests/date/date.pl index 5be04637c8..69d09d0fbb 100755 --- a/tests/date/date.pl +++ b/tests/date/date.pl @@ -201,6 +201,10 @@ my @Tests = ['european-1', "-I -d '24.1.2026'", {OUT=>"2026-01-24"}], ['european-2', "-d '24.01.' +%m-%d", {OUT=>"01-24"}], ['european-3', "-d '1.2.' +%m-%d", {OUT=>"02-01"}], + ['eu-combo-1', "-d '1.2. 3:4:5.6' +%m-%d-%T", {OUT=>"02-01-03:04:05"}], + ['eu-combo-2', "-d '3:4:5.6 1.2.' +%m-%d-%T", {OUT=>"02-01-03:04:05"}], + ['eu-combo-3', "-d '1.2. 3' +%m-%d-%H", {OUT=>"02-01-03"}], + ['eu-combo-4', "-d '3 1.2.' +%m-%d-%H", {OUT=>"02-01-03"}], ['epoch', '--iso=sec -d @31536000', {OUT=>"1971-01-01T00:00:00+00:00"}],