FIX: do not display EPOCH

This commit is contained in:
Régis Hanol 2014-11-17 16:32:14 +01:00
parent 7bb9a839e5
commit 216a5a87cb
1 changed files with 1 additions and 1 deletions

View File

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