Fix merge fail

This commit is contained in:
David Baker 2017-05-26 17:55:48 +01:00
parent c22978d033
commit 40680d55e0

View file

@ -62,6 +62,8 @@ function twelveHourTime(date) {
module.exports = { module.exports = {
formatDate: function(date) { formatDate: function(date) {
var now = new Date(); var now = new Date();
const days = getDaysArray();
const months = getMonthsArray();
if (date.toDateString() === now.toDateString()) { if (date.toDateString() === now.toDateString()) {
return this.formatTime(date); return this.formatTime(date);
} }