refactor: use default locale instead of en-gb

This commit is contained in:
Methapon2001 2024-12-18 08:55:04 +07:00
parent 414b57acbd
commit cd27514c33

View file

@ -1,10 +1,9 @@
import moment from 'moment';
import 'moment/dist/locale/th';
import 'moment/dist/locale/en-gb';
import { i18n } from 'src/boot/i18n';
import { Lang } from './ui';
moment.locale('en-gb');
moment.locale('en');
export function setLocale(locale: string) {
moment.locale(locale);