Added location

This commit is contained in:
Thomas Forgione 2018-12-11 14:18:12 +01:00
parent 3c016c8fa0
commit 060398d24b
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
2 changed files with 1 additions and 2 deletions

View File

@ -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,
});

View File

@ -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,