Skip to content

date: fix RFC-822 format to always use English names#10932

Merged
ChrisDryden merged 1 commit intouutils:mainfrom
sylvestre:date-pl-1
Feb 14, 2026
Merged

date: fix RFC-822 format to always use English names#10932
ChrisDryden merged 1 commit intouutils:mainfrom
sylvestre:date-pl-1

Conversation

@sylvestre
Copy link
Contributor

fixed gnu rfc822-1

RFC-822/RFC-2822/RFC-5322 formats must use English day and month names regardless of locale per RFC specification. Previously, these formats were being localized (e.g., "So" instead of "Sun" with de_DE locale).

fixed gnu rfc822-1

RFC-822/RFC-2822/RFC-5322 formats must use English day and month names
regardless of locale per RFC specification. Previously, these formats
were being localized (e.g., "So" instead of "Sun" with de_DE locale).
@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/factor/t36. tests/factor/t36 is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/tty/tty-eof (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/factor/t09 is no longer failing!
Congrats! The gnu test tests/misc/io-errors is no longer failing!
Congrats! The gnu test tests/csplit/csplit-heap is now passing!
Note: The gnu test tests/env/env-signal-handler was skipped on 'main' but is now failing.

@sylvestre
Copy link
Contributor Author

seems that it passes now:

2026-02-14T18:45:22.6661828Z rfc822-1...

was failing with:

2026-02-12T18:46:55.4033914Z date.pl: test rfc822-1: stdout mismatch, comparing rfc822-1.1 (expected) and rfc822-1.O (actual)
2026-02-12T18:46:55.4034015Z --- rfc822-1.1	2026-02-12 18:43:29.023152496 +0000
2026-02-12T18:46:55.4034118Z +++ rfc822-1.O	2026-02-12 18:43:29.137548144 +0000
2026-02-12T18:46:55.4034183Z @@ -1 +1 @@
2026-02-12T18:46:55.4034272Z -Sun, 19 Jan 1997 08:17:48 +0000
2026-02-12T18:46:55.4034378Z +So, 19 Jan 1997 08:17:48 +0000

@ChrisDryden ChrisDryden merged commit 5dcdba1 into uutils:main Feb 14, 2026
191 of 197 checks passed
abendrothj pushed a commit to abendrothj/coreutils that referenced this pull request Feb 17, 2026
fixed gnu rfc822-1

RFC-822/RFC-2822/RFC-5322 formats must use English day and month names
regardless of locale per RFC specification. Previously, these formats
were being localized (e.g., "So" instead of "Sun" with de_DE locale).
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