Skip to content

fix: Update locale km.js to support meridiem (#3017)#3017

Merged
iamkun merged 2 commits intoiamkun:devfrom
vatanak10:patch-1
Mar 12, 2026
Merged

fix: Update locale km.js to support meridiem (#3017)#3017
iamkun merged 2 commits intoiamkun:devfrom
vatanak10:patch-1

Conversation

@vatanak10
Copy link
Copy Markdown
Contributor

contribute meridiem

contribute meridiem
@iamkun
Copy link
Copy Markdown
Owner

iamkun commented Mar 12, 2026

THX

@iamkun iamkun changed the title Update km.js fix: Update locale km.js to support meridiem (#3017) Mar 12, 2026
@iamkun iamkun merged commit 9d2b6a1 into iamkun:dev Mar 12, 2026
1 check failed
iamkun added a commit that referenced this pull request Mar 12, 2026
* chore: update demo

* chore: update

* chore: update doc

* chore: update doc

* chore: update doc

* chore: update doc

* chore: update doc

* chore: update doc

* chore: update doc

* chore: update doc

* fix: Update locale km.js to support meridiem (#3017)

* Update km.js

contribute meridiem

* Simplify meridiem function in km.js

---------

Co-authored-by: iamkun <kunhello@outlook.com>

* fix: update updateLocale plugin to merge nested object properties instead of replacing (#3012)

When updating a locale with a partial nested object (e.g., only one key
in `formats`), the plugin now merges the new values into the existing
object rather than replacing the entire object. This preserves other
keys that were not included in the update.

Arrays and non-object values continue to be replaced entirely.

Fixes #1118

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* chore: fix lint error

---------

Co-authored-by: Serey Vatanak <koeurnsereyvatanak@gmail.com>
Co-authored-by: Varun Chawla <34209028+veeceey@users.noreply.github.com>
Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
github-actions Bot pushed a commit that referenced this pull request Mar 12, 2026
## [1.11.20](v1.11.19...v1.11.20) (2026-03-12)

### Bug Fixes

* Update locale km.js to support meridiem ([#3017](#3017)) ([9d2b6a1](9d2b6a1))
* update updateLocale plugin to merge nested object properties instead of replacing ([#3012](#3012)) ([99691c5](99691c5)), closes [#1118](#1118)
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