diff --git a/controllers/total/views.js b/controllers/total/views.js index 9714482..9321572 100644 --- a/controllers/total/views.js +++ b/controllers/total/views.js @@ -237,7 +237,7 @@ module.exports.calendarData = function(req, res, render) { } events.push({ - title: event.name, + title: event.name + '\n' + event.location, start: event.startTime, end: event.finishTime, }); diff --git a/utils/calendar.js b/utils/calendar.js index 9d1cc70..dac6179 100644 --- a/utils/calendar.js +++ b/utils/calendar.js @@ -7,7 +7,6 @@ var locale = require('os-locale').sync(); var cal = {}; function fromIcal(string) { - console.log(string); return new Date( parseInt(string.substr(0 , 4), 10), parseInt(string.substr(4 , 2), 10) - 1,