diff --git a/src/DateUtils.js b/src/DateUtils.js index 208134ee83..f291111981 100644 --- a/src/DateUtils.js +++ b/src/DateUtils.js @@ -34,12 +34,14 @@ module.exports = { else if (now.getTime() - date.getTime() < 6 * 24 * 60 * 60 * 1000) { return days[date.getDay()] + " " + pad(date.getHours()) + ':' + pad(date.getMinutes()); } - else if (now.getFullYear() === date.getFullYear()) { + else /* if (now.getFullYear() === date.getFullYear()) */ { return days[date.getDay()] + ", " + months[date.getMonth()] + " " + date.getDate() + " " + pad(date.getHours()) + ':' + pad(date.getMinutes()); } + /* else { return days[date.getDay()] + ", " + months[date.getMonth()] + " " + date.getDate() + " " + date.getFullYear() + " " + pad(date.getHours()) + ':' + pad(date.getMinutes()); } + */ } }