From cfa8947f3a4adda1ed649210da4adfe21f44af21 Mon Sep 17 00:00:00 2001 From: Ashutosh Bishnoi Date: Thu, 25 Mar 2021 10:37:56 +0530 Subject: renaming coordinateFormatter function --- modern/src/common/formatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/common') 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'; -- cgit v1.2.3