Skip to content

date: align Thai locale formatting with GNU - #14405

Open
compilersutra wants to merge 1 commit into
uutils:mainfrom
compilersutra:fix/date-thai-locale-gnu-parity
Open

date: align Thai locale formatting with GNU#14405
compilersutra wants to merge 1 commit into
uutils:mainfrom
compilersutra:fix/date-thai-locale-gnu-parity

Conversation

@compilersutra

Copy link
Copy Markdown

Match GNU Thai solar calendar behavior for th_TH:

  • %Y / %m / %d use Buddhist-era values
  • %EY / %EC / %Ey use พ.ศ. era forms
  • Thai month/weekday names match GNU

Fixes the empty/closed state of #12921 after a bad rebase.

Keep Buddhist-era %Y (and พ.ศ. era formats) for th_TH, with GNU Thai
month/weekday names, so tests/date/date-thailand passes again.
@sylvestre

Copy link
Copy Markdown
Contributor

sorry but what was not working before this PR ?

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

GNU test failed: tests/tail/pipe-f2. tests/tail/pipe-f2 is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/date/date-locale-hour (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/tail-n0f (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/tail/pipe-f is now passing!

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