Skip to content

Commit 40bc8da

Browse files
committed
🐛 修复更新时间i18n问题
1 parent e56d4fc commit 40bc8da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/locales/locales.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import i18n from "i18next";
22
import { initReactI18next } from "react-i18next";
33
import dayjs from "dayjs";
4+
import "dayjs/locale/zh-cn";
45
import relativeTime from "dayjs/plugin/relativeTime";
56
import enUS from "./en-US/translation.yaml";
67
import zhCN from "./zh-CN/translation.yaml";

0 commit comments

Comments
 (0)