Skip to content

Commit 92d23bd

Browse files
authored
fix: moment date localization not working (baserow#4990)
1 parent 019d02e commit 92d23bd

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "bug",
3+
"message": "Fix date localization not working with non english languages",
4+
"issue_origin": "github",
5+
"issue_number": null,
6+
"domain": "core",
7+
"bullet_points": [],
8+
"created_at": "2026-03-17"
9+
}

web-frontend/modules/core/moment.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,13 @@
22
// is always included. There were some problems when Baserow is installed as a
33
// dependency and then moment-timezone does not work. Still will resolve that issue.
44
import moment from 'moment-timezone'
5+
import 'moment/dist/locale/fr'
6+
import 'moment/dist/locale/nl'
7+
import 'moment/dist/locale/de'
8+
import 'moment/dist/locale/es'
9+
import 'moment/dist/locale/it'
10+
import 'moment/dist/locale/pl'
11+
import 'moment/dist/locale/ko'
12+
import 'moment/dist/locale/uk'
513

614
export default moment

0 commit comments

Comments
 (0)