Index: src/date.js |
diff --git a/src/date.js b/src/date.js |
index d603671774f341614d59727fb5e3f4cfb1b59b40..8d7d5d8b5ee1ab224db92c911a64ccf41b610e6f 100644 |
--- a/src/date.js |
+++ b/src/date.js |
@@ -294,8 +294,8 @@ function TimeInYear(year) { |
} |
-var ymd_from_time_cache = [$NaN, $NaN, $NaN]; |
-var ymd_from_time_cached_time = $NaN; |
+var ymd_from_time_cache = [1970, 0, 1]; |
+var ymd_from_time_cached_time = 0; |
function YearFromTime(t) { |
if (t !== ymd_from_time_cached_time) { |