diff options
author | Iván Ávalos <avalos@disroot.org> | 2021-12-20 22:27:38 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2021-12-20 22:27:38 -0600 |
commit | 5b77af549c94a4cda8c5ca4764c7fbc4d8f065a3 (patch) | |
tree | 0213e1a13662716ca002e891da285a1d1c486942 /modern/src/common/formatter.js | |
parent | cb9728775b0e5eca8c705c0e2c61f9171b7068d9 (diff) | |
download | etbsa-traccar-web-5b77af549c94a4cda8c5ca4764c7fbc4d8f065a3.tar.gz etbsa-traccar-web-5b77af549c94a4cda8c5ca4764c7fbc4d8f065a3.tar.bz2 etbsa-traccar-web-5b77af549c94a4cda8c5ca4764c7fbc4d8f065a3.zip |
Localized grid no rows message, removed e-mail report button, among other report-related changes
Diffstat (limited to 'modern/src/common/formatter.js')
-rw-r--r-- | modern/src/common/formatter.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/common/formatter.js b/modern/src/common/formatter.js index ad0ffa2..87d8b00 100644 --- a/modern/src/common/formatter.js +++ b/modern/src/common/formatter.js @@ -7,6 +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, }).format(new Date(value)) : ''; export const formatPosition = (value, key, t, locale = 'es') => { |