mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 07:50:37 +01:00
misc fixes
handle spider uids properly
This commit is contained in:
@@ -513,7 +513,7 @@
|
||||
timestamp = Math.min(timestamp, 8640000000000000);
|
||||
|
||||
try {
|
||||
return Date.prototype.toISOString ? new Date(parseInt(timestamp, 10)).toISOString() : timestamp;
|
||||
return new Date(parseInt(timestamp, 10)).toISOString();
|
||||
} catch (e) {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user