mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
Pass numerical value to format functions
This commit is contained in:
parent
121ab413ff
commit
4cd579d274
@ -65,7 +65,7 @@ define(
|
||||
|
||||
//Define a custom format function
|
||||
xAxis.tickFormat(function (date) {
|
||||
return format.format(date, {min: b.start, max: b.end});
|
||||
return format.format(date.getTime(), {min: b.start, max: b.end});
|
||||
});
|
||||
axisElement.call(xAxis);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user