Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.

Commit 9c92cc6

Browse files
committed
feat: add translationCN to the ui
add translationCN to the ui
1 parent e7fea16 commit 9c92cc6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/App/load-dayjs-locale.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ function loadDayJSLocale() {
4444
dayjs.locale('es');
4545
}
4646
break;
47+
case 'zh-cn':
48+
{
49+
require('dayjs/locale/zh-cn');
50+
dayjs.locale('zh-cn');
51+
}
52+
break;
4753
default:
4854
break;
4955
}

0 commit comments

Comments
 (0)