1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 12:58:00 +01:00

Remove invalid FIXME regarding "Invalid Date" Date value.

This value is not locale dependant.
This commit is contained in:
Doug Kearns
2009-06-25 22:52:47 +10:00
parent f798b979ef
commit a64565e1b6

View File

@@ -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;