mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 03:37:15 +08:00
FIX: damn timezones
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user