#1069 Convert to number
This commit is contained in:
parent
3dfe10815d
commit
1685f6ded0
|
@ -644,7 +644,7 @@ function parseTimestamp(timestamp) {
|
||||||
if (isNaN(timestamp) || !isFinite(timestamp) || timestamp < 0) {
|
if (isNaN(timestamp) || !isFinite(timestamp) || timestamp < 0) {
|
||||||
return moment.invalid();
|
return moment.invalid();
|
||||||
}
|
}
|
||||||
return moment(timestamp);
|
return moment(Number(timestamp));
|
||||||
}
|
}
|
||||||
|
|
||||||
// ST "humanized" format pattern
|
// ST "humanized" format pattern
|
||||||
|
|
Loading…
Reference in New Issue