mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
FIX: do not display EPOCH
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user