aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/formatter.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2020-11-20 13:56:14 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2020-11-20 13:56:14 +0530
commitdf01e1d751980843506946a194fa9f67489182b1 (patch)
tree12eff84de0878b72418e0c0991ede3663da37dfb /modern/src/common/formatter.js
parent604eabcd97c6e7ddb42316a5a1fb0abc24e8dc7f (diff)
downloadtrackermap-web-df01e1d751980843506946a194fa9f67489182b1.tar.gz
trackermap-web-df01e1d751980843506946a194fa9f67489182b1.tar.bz2
trackermap-web-df01e1d751980843506946a194fa9f67489182b1.zip
Implementing chart report initial structure
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 e41e591e..8ef00400 100644
--- a/modern/src/common/formatter.js
+++ b/modern/src/common/formatter.js
@@ -9,7 +9,7 @@ export const formatPosition = (value, key) => {
case 'fixTime':
case 'deviceTime':
case 'serverTime':
- return moment(value).format('LLL');
+ return moment(value).format('YYYY-MM-DD HH:mm');
case 'latitude':
case 'longitude':
return value.toFixed(5);