From 91a28424283de9a435a42018f5902078d7843aed Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Sun, 26 Dec 2021 01:19:37 -0600 Subject: Translated event type in notification --- modern/src/common/formatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/common') diff --git a/modern/src/common/formatter.js b/modern/src/common/formatter.js index 87d8b00..d824e83 100644 --- a/modern/src/common/formatter.js +++ b/modern/src/common/formatter.js @@ -7,7 +7,7 @@ export const formatNumber = (value, precision = 1) => Number(value.toFixed(preci export const formatDate = (value, locale = 'es') => value ? new Intl.DateTimeFormat(locale, { dateStyle: 'medium', timeStyle: 'short', - hour12: true, + hourCycle: 'h12', }).format(new Date(value)) : ''; export const formatPosition = (value, key, t, locale = 'es') => { -- cgit v1.2.3