diff --git a/frontend/src/scalars/ui/chart.san b/frontend/src/scalars/ui/chart.san index 75e4bee6e43313b3f08760a8abac2f37a9b85765..08ca5a6f9311310b36cfe7f490aaa556e4906e6b 100644 --- a/frontend/src/scalars/ui/chart.san +++ b/frontend/src/scalars/ui/chart.san @@ -556,7 +556,7 @@ export default { Smoothed: data[indexPropMap.Smoothed].toString().slice(0, 6), Value: data[indexPropMap.Value].toString().slice(0, 6), Step: data[indexPropMap.Step], - Time: moment(Math.floor(data[indexPropMap.Time] * 1000), 'X').format('YYYY-MM-DD HH:mm:ss'), + Time: moment(Math.floor(data[indexPropMap.Time] * 1000), 'x').format('YYYY-MM-DD HH:mm:ss'), // Relative display value should take easy-read into consideration. // Better to tranform data to 'day:hour', 'hour:minutes', 'minute: seconds' and second only. Relative: Math.floor(data[indexPropMap.Relative] * 60 * 60) + 's'