Skip to content

date: use locale date_fmt instead of D_T_FMT for default format#10935

Merged
sylvestre merged 3 commits intouutils:mainfrom
ChrisDryden:fix-date-locale-hour
Feb 16, 2026
Merged

date: use locale date_fmt instead of D_T_FMT for default format#10935
sylvestre merged 3 commits intouutils:mainfrom
ChrisDryden:fix-date-locale-hour

Conversation

@ChrisDryden
Copy link
Copy Markdown
Collaborator

@ChrisDryden ChrisDryden commented Feb 14, 2026

I'm working on a fix to libc to have this value in the libc library instead of setting it manually. This is the actual default value used instead of the one that we're currently using.

This is required as a fix for the locale-hour gnu test

@ChrisDryden
Copy link
Copy Markdown
Collaborator Author

The only other part of the test thats failing now has to do with the non-utf8 input that should be fixed with the date.pl fix prs that are being added soon

@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Congrats! The gnu test tests/tail/tail-n0f is now passing!

@ChrisDryden
Copy link
Copy Markdown
Collaborator Author

I'm a bit confused, its saying "tests/date/date-locale-hour.sh PASS" in the integ test but the comment isn't saying that

@ChrisDryden ChrisDryden marked this pull request as ready for review February 15, 2026 17:53
@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Congrats! The gnu test tests/date/date-locale-hour is no longer failing!
Note: The gnu test tests/cut/cut-huge-range is now being skipped but was previously passing.
Note: The gnu test tests/unexpand/bounded-memory is now being skipped but was previously passing.
Congrats! The gnu test tests/tail/tail-n0f is now passing!

@sylvestre sylvestre merged commit 00f72f2 into uutils:main Feb 16, 2026
155 of 157 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants