FIX: damn timezones

This commit is contained in:
Régis Hanol 2014-11-17 22:53:41 +01:00
parent 0b0cee4e07
commit 672cd92638

View File

@ -96,7 +96,7 @@ updateRelativeAge = function(elems) {
autoUpdatingRelativeAge = function(date,options) {
if (!date) return "";
if (+date === +new Date("1970/1/1 1:0:0")) return "";
if (+date === +new Date(0)) return "";
options = options || {};
var format = options.format || "tiny";