Removed let from front end

This commit is contained in:
Keith Holliday 2017-05-23 08:56:36 -06:00
parent 280b720c13
commit 7d000d2cf6

View file

@ -395,7 +395,7 @@ angular.module('habitrpg')
var nextDueDates = Shared.shouldDo(new Date, task, options);
if (!nextDueDates) return '';
let dateFormat = 'MM-DD-YYYY';
var dateFormat = 'MM-DD-YYYY';
if (user.preferences.dateFormat) dateFormat = user.preferences.dateFormat.toUpperCase();
var nextDue = nextDueDates.map(function (date) {