Skip to content

fix(locale): add meridiem to Ukrainian (uk) locale#3125

Open
JohnJunior wants to merge 1 commit into
iamkun:devfrom
JohnJunior:feat/uk-meridiem
Open

fix(locale): add meridiem to Ukrainian (uk) locale#3125
JohnJunior wants to merge 1 commit into
iamkun:devfrom
JohnJunior:feat/uk-meridiem

Conversation

@JohnJunior

Copy link
Copy Markdown

Description

The Ukrainian (uk) locale was missing a meridiem function, so format('A')
fell back to the core default and returned English AM / PM.

Ukrainian expresses the time of day with words rather than AM/PM
(e.g. "8 вечора", "11 ранку"). This PR adds a meridiem function to the uk locale.

Behavior

Hour Before After
< 4 AM ночі
< 12 AM ранку
< 17 PM дня
>= 17 PM вечора

Changes

  • src/locale/uk.js — add the meridiem function.
  • test/locale/uk.test.js — add a Meridiem test covering all four branches.

Checklist

  • npm run lint passes
  • npm run test passes
  • Test coverage maintained

@JohnJunior JohnJunior changed the title feat(locale): add meridiem to Ukrainian (uk) locale fix(locale): add meridiem to Ukrainian (uk) locale Jun 11, 2026
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.

1 participant