mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
Fix: Certain languages not loading due to bad map.
This commit is contained in:
@@ -160,7 +160,7 @@ function Locale({ children, locale }: Props) {
|
||||
|
||||
dayjs["sameElse"] = DATE_FORMATS[date];
|
||||
Object.keys(dayjs)
|
||||
.filter((k) => k !== "defaults")
|
||||
.filter((k) => typeof dayjs[k] === 'string')
|
||||
.forEach(
|
||||
(k) =>
|
||||
(dayjs[k] = dayjs[k].replace(
|
||||
|
||||
Reference in New Issue
Block a user