Commit 27207a78caccb04372e0275c5cee526ec460de0e
1 parent
d1e0e8bc
fix: fixed moment locale config
修复moment的英文语言配置
Showing
1 changed file
with
3 additions
and
3 deletions
src/locales/lang/en.ts
1 | 1 | import { genMessage } from '../helper'; |
2 | 2 | import antdLocale from 'ant-design-vue/es/locale/en_US'; |
3 | -import momentLocale from 'moment/dist/locale/eu'; | |
3 | +// import momentLocale from 'moment/dist/locale/en-us'; | |
4 | 4 | |
5 | 5 | const modules = import.meta.globEager('./en/**/*.ts'); |
6 | 6 | export default { |
... | ... | @@ -8,6 +8,6 @@ export default { |
8 | 8 | ...genMessage(modules, 'en'), |
9 | 9 | antdLocale, |
10 | 10 | }, |
11 | - momentLocale, | |
12 | - momentLocaleName: 'eu', | |
11 | + momentLocale: null, | |
12 | + momentLocaleName: 'en', | |
13 | 13 | }; | ... | ... |