🐛 Fix dates to avoid show them in english when browser is in auto (#8775)

This commit is contained in:
Marina López 2026-03-26 09:33:13 +01:00 committed by GitHub
parent 0a98100536
commit cd67dc42c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,7 @@
- Fix id prop on switch component [Taiga #13534](https://tree.taiga.io/project/penpot/issue/13534)
- Update copy on penpot update message [Taiga #12924](https://tree.taiga.io/project/penpot/issue/12924)
- Fix scroll on library modal [Taiga #13639](https://tree.taiga.io/project/penpot/issue/13639)
- Fix dates to avoid show them in english when browser is in auto [Taiga #13786](https://tree.taiga.io/project/penpot/issue/13786)
## 2.15.0 (Unreleased)

View File

@ -213,6 +213,9 @@
(when (not= pv cv)
(ct/set-default-locale cv))))
;; Initialize date-fns locale on startup, the watch above only fires on changes
(ct/set-default-locale *current-locale*)
;; We set the real translation function in the common i18n namespace,
;; so that when common code calls (tr ...) it uses this function.
(set! app.common.i18n/tr tr)