updated calendar to have today, tomorrow and this week

This commit is contained in:
Martin Donnelly 2016-05-04 12:57:10 +01:00
parent a18e86e1bc
commit ce244e2381

View File

@ -151,7 +151,7 @@ module.exports = {
});
}, preLoadToday: function() {
module.exports.getTodayDate();
todayCache.data.cal.entries = [];
todayCache.data.cal={today: [], tomorrow:[], week:[]};
weather.newDoGetWeather()
.then((d)=> {
todayCache.data.weather = d;
@ -206,7 +206,7 @@ module.exports = {
});
}
swedishWord.getSwedishWord()
.then((d) => {
'use strict';