aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2021-12-26 01:19:37 -0600
committerIván Ávalos <avalos@disroot.org>2021-12-26 01:19:37 -0600
commit91a28424283de9a435a42018f5902078d7843aed (patch)
tree83d2efa26bdb47a264a6fbb793b80769be6b0e90 /modern/src/common
parentf03db519c6ea4c59430a27e06df3058accd67dd4 (diff)
downloadetbsa-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.js2
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') => {