Skip to content

Commit 3334eed

Browse files
committed
Fix CUSTOM locale defaulting to Chinese date formatting
Affects issues: - Fixed #4488
1 parent 4c8ee1f commit 3334eed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Plan/react/dashboard/src/service/localeService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export const localeService = {
120120
},
121121

122122
getIntlFriendlyLocale: () => {
123+
if (localeService.clientLocale === 'CUSTOM') return 'en';
123124
return localeService.clientLocale === 'CN' ? 'zh-cn' : localeService.clientLocale.toLocaleLowerCase().replace('_', '-')
124125
},
125126

0 commit comments

Comments
 (0)