mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 02:57:59 +01:00
Remove invalid FIXME regarding "Invalid Date" Date value.
This value is not locale dependant.
This commit is contained in:
@@ -828,7 +828,6 @@ function Buffer() //{{{
|
||||
let lastModVerbose = new Date(doc.lastModified).toLocaleString();
|
||||
let lastMod = new Date(doc.lastModified).toLocaleFormat("%x %X");
|
||||
|
||||
// FIXME: probably not portable across different language versions
|
||||
if (lastModVerbose == "Invalid Date" || new Date(doc.lastModified).getFullYear() == 1970)
|
||||
lastModVerbose = lastMod = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user