diff options
| author | Collin Funk <collin.funk1@gmail.com> | 2025-12-14 12:37:41 -0800 |
|---|---|---|
| committer | Collin Funk <collin.funk1@gmail.com> | 2025-12-15 15:54:00 -0800 |
| commit | 45071c85b54d5ff74d1d48b8738dc2b33869e432 (patch) | |
| tree | e1b7e888d995bfac1dcb319e9849f96ef5c1c2c5 /scripts/git-hooks/commit-msg | |
| parent | f4dca9ca03ba2825953a86561c4af3c38d997377 (diff) | |
| download | coreutils-45071c85b54d5ff74d1d48b8738dc2b33869e432.tar.gz coreutils-45071c85b54d5ff74d1d48b8738dc2b33869e432.zip | |
tests: date: add another locale test case
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.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
