diff options
author | Iván Ávalos <avalos@disroot.org> | 2021-12-26 01:19:37 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2021-12-26 01:19:37 -0600 |
commit | 91a28424283de9a435a42018f5902078d7843aed (patch) | |
tree | 83d2efa26bdb47a264a6fbb793b80769be6b0e90 /modern/src/common | |
parent | f03db519c6ea4c59430a27e06df3058accd67dd4 (diff) | |
download | etbsa-traccar-web-91a28424283de9a435a42018f5902078d7843aed.tar.gz etbsa-traccar-web-91a28424283de9a435a42018f5902078d7843aed.tar.bz2 etbsa-traccar-web-91a28424283de9a435a42018f5902078d7843aed.zip |
Translated event type in notification
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/formatter.js | 2 |
1 files changed, 1 insertions, 1 deletions
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') => { |