diff --git a/src/DateUtils.js b/src/DateUtils.js index bc8594c671..8b7a2f3f20 100644 --- a/src/DateUtils.js +++ b/src/DateUtils.js @@ -62,6 +62,8 @@ function twelveHourTime(date) { module.exports = { formatDate: function(date) { var now = new Date(); + const days = getDaysArray(); + const months = getMonthsArray(); if (date.toDateString() === now.toDateString()) { return this.formatTime(date); }