Skip to content

Commit c60e55a

Browse files
Improve fix for momentjs
1 parent 21a7164 commit c60e55a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/App.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ const _App: FC = () => {
286286

287287
if (moment.locales().includes(momentLocale)) {
288288
moment.locale(momentLocale);
289+
} else {
290+
log.error(`moment locale "${momentLocale}" not available`);
291+
moment.locale('en-gb');
289292
}
290293
}, [i18n, language]);
291294

0 commit comments

Comments
 (0)