refactor: use default locale instead of en-gb
This commit is contained in:
parent
414b57acbd
commit
cd27514c33
1 changed files with 1 additions and 2 deletions
|
|
@ -1,10 +1,9 @@
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import 'moment/dist/locale/th';
|
import 'moment/dist/locale/th';
|
||||||
import 'moment/dist/locale/en-gb';
|
|
||||||
import { i18n } from 'src/boot/i18n';
|
import { i18n } from 'src/boot/i18n';
|
||||||
import { Lang } from './ui';
|
import { Lang } from './ui';
|
||||||
|
|
||||||
moment.locale('en-gb');
|
moment.locale('en');
|
||||||
|
|
||||||
export function setLocale(locale: string) {
|
export function setLocale(locale: string) {
|
||||||
moment.locale(locale);
|
moment.locale(locale);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue