1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Fix notification locale format (#11207)

This commit is contained in:
Dan J Miller 2021-05-28 16:11:11 -02:30 committed by Dan Miller
parent 517daba1af
commit 6131d10d4b

View File

@ -61,7 +61,7 @@ export const getTranslatedUINoficiations = (t, locale) => {
t('notifications6DescriptionTwo'),
t('notifications6DescriptionThree'),
],
date: new Intl.DateTimeFormat(locale).format(
date: new Intl.DateTimeFormat(formattedLocale).format(
new Date(UI_NOTIFICATIONS[6].date),
),
},