diff options
author | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-03-25 10:37:56 +0530 |
---|---|---|
committer | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-03-25 10:37:56 +0530 |
commit | cfa8947f3a4adda1ed649210da4adfe21f44af21 (patch) | |
tree | 2ee35f32b54cfa506f7b73795f6fdca0fa4199c9 /modern/src/common | |
parent | 85fa5aed51ee16a7f5258ab29a991c9e4007fc04 (diff) | |
download | etbsa-traccar-web-cfa8947f3a4adda1ed649210da4adfe21f44af21.tar.gz etbsa-traccar-web-cfa8947f3a4adda1ed649210da4adfe21f44af21.tar.bz2 etbsa-traccar-web-cfa8947f3a4adda1ed649210da4adfe21f44af21.zip |
renaming coordinateFormatter function
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 b70fed3..0d8ac4c 100644 --- a/modern/src/common/formatter.js +++ b/modern/src/common/formatter.js @@ -82,7 +82,7 @@ export const formatHours = (value) => { return moment.duration(value).humanize(); }; -export const coordinateFormatter = (key, value, unit) => { +export const formatCoordinate = (key, value, unit) => { var hemisphere, degrees, minutes, seconds; if (key === 'latitude') { hemisphere = value >= 0 ? 'N' : 'S'; |