#1069 Convert to number

This commit is contained in:
Cohee 2024-06-09 14:41:49 +03:00
parent 3dfe10815d
commit 1685f6ded0
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ function parseTimestamp(timestamp) {
if (isNaN(timestamp) || !isFinite(timestamp) || timestamp < 0) {
return moment.invalid();
}
return moment(timestamp);
return moment(Number(timestamp));
}
// ST "humanized" format pattern