| Age | Commit message (Collapse) | Author | Lines |
|
*tests/date/date.pl: Add the test case.
Add test case for https://github.com/uutils/coreutils/issues/10800
to verify `date -u -d '10:30 UTC-05'` converts to 15:30 UTC.
|
|
* tests/date/date.pl: Add the test case.
Add test cases for https://github.com/uutils/coreutils/issues/10957
|
|
* tests/date/date.pl (@Tests): Add the test case.
|
|
* tests/date/date.pl: Add other date elements
to ensure abbreviated dotted dates are parsed appropriately.
Corresponds to gnulib commit 451042cb76
|
|
* NEWS: Mention the new feature.
* tests/date/date.pl: Add test cases.
|
|
* tests/date/percent-percent.sh: New file.
* tests/local.mk (all_tests): Add it.
|
|
|
|
* tests/date/date.pl: Add test cases.
Suggested by Sylvestre Ledru.
|
|
* tests/date/date.pl: Add the check.
|
|
|
|
* tests/date/date-locale-hour.sh: Test that the default format of 10
random supported locales is the same as 'locale date_fmt'.
|
|
On a GNU/Linux system, we have the following:
$ LC_ALL=en_US.UTF-8 date -u -d 1:00
Sun Dec 14 01:00:00 AM UTC 2025
$ LC_ALL=en_US.UTF-8 locale date_fmt
%a %b %e %r %Z %Y
$ LC_ALL=en_US.UTF-8 locale t_fmt_ampm
%I:%M:%S %p
$ LC_ALL=nl_NL.UTF-8 date -u -d 1:00
zo 14 dec 2025 1:00:00 UTC
$ LC_ALL=nl_NL.UTF-8 locale date_fmt
%a %e %b %Y %k:%M:%S %Z
We respect the locales preference for a leading zero or leading space in
single digit hours.
* tests/date/date-locale-hour.sh: Check that the locales preference for
leading zeros or spaces in single digit hours is used.
|
|
* tests/date/reference.sh: Fix typo; s/modiication/modification.
|
|
* tests/date/date-tz.sh: Allow date to fail with large values for TZ
since NetBSD's tzalloc function limits them to 256 bytes.
|
|
* tests/date/resolution.sh: Fix comparison on systems with less than
nano second reslution, where we use sed to discard the redundant
trailing zeros output by date --resolution.
Reported by Bruno Haible on macOS.
|
|
* tests/date/resolution.sh: New test for --resolution and %-N.
* tests/local.mk: Reference the new test.
|
|
* tests/date/reference.sh: Ensure the -r option is tested.
* tests/local.mk: Add the test.
|
|
* tests/date/date-locale-hour.sh: New file.
* tests/local.mk (all_tests): Add the new test.
Co-authored-by: Pádraig Brady <P@draigBrady.com>
|
|
* tests/date/date-ethiopia.sh: New file.
* tests/local.mk (all_tests): Add the test.
|
|
* tests/date/date-iran.sh: New file.
* tests/local.mk (all_tests): Add the test.
|
|
* tests/date/date-thailand.sh: New file.
* tests/local.mk (all_tests): Add the test.
|
|
Problem reported by Collin Funk in:
https://lists.gnu.org/r/bug-gnulib/2025-06/msg00094.html
* tests/date/date-debug.sh: Also allow NetBSD 10 mktime behavior.
Although NetBSD contradicts POSIX, POSIX is likely wrong here and
I vaguely recall that there’s a POSIX correction in progress
that will allow the NetBSD behavior.
|
|
* tests/date/date-debug.sh: Update to match current behavior
of Gnulib's parse-datetime module.
|
|
* tests/date/date.pl: To exercise option processing.
|
|
Update to latest gnulib with new copyright year.
Run "make update-copyright" and then...
* gnulib: Update included in this commit as copyright years
are the only change from the previous gnulib commit.
* tests/init.sh: Sync with gnulib to pick up copyright year.
* bootstrap: Likewise.
* tests/sample-test: Adjust to use the single most recent year.
|
|
Update to latest gnulib with new copyright year.
Run "make update-copyright" and then...
* gnulib: Update included in this commit as copyright years
are the only change from the previous gnulib commit.
* tests/init.sh: Sync with gnulib to pick up copyright year.
* bootstrap: Manually update copyright year,
until we fully sync with gnulib at a later stage.
* tests/sample-test: Adjust to use the single most recent year.
|
|
* cfg.mk: Adjust syntax check exclusion paths.
* tests/local.mk: Adjust for renamed tests.
|
|
|
|
|
|
|
|
|
|
tests/date/date-tests had becoming far too large (over 350KB),
so use the superior-but-perl-requiring framework instead.
* tests/date/Test.pm: Move new tests from here...
* tests/misc/date: ...to this new file.
|
|
Remove unused $sunos4 variable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|