aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/formatter.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/formatter.js')
-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 b70fed3a..0d8ac4c9 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';