mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 02:47:52 +01:00
#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) {
|
||||
return moment.invalid();
|
||||
}
|
||||
return moment(timestamp);
|
||||
return moment(Number(timestamp));
|
||||
}
|
||||
|
||||
// ST "humanized" format pattern
|
||||
|
Loading…
x
Reference in New Issue
Block a user