Skip to content

Commit e7b4262

Browse files
committed
fix: Localize Chinese date formats
The flatpickr display format still used the bare ISO English default. Switch to the native Chinese year/month/day notation. Only the displayed altFormat changes; the submitted value stays ISO.
1 parent d48fd9c commit e7b4262

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • app/views/alchemy/admin/translations

app/views/alchemy/admin/translations/_zh-CN.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Alchemy.translations = {
3131
"Select a page first": "请先选择页面。",
3232
Close: "关闭",
3333
formats: {
34-
datetime: "Y-m-d H:i",
35-
date: "Y-m-d",
34+
datetime: "Y年m月d日 H:i",
35+
date: "Y年m月d日",
3636
time: "H:i",
3737
time_24hr: true,
3838
},

0 commit comments

Comments
 (0)