Added location

master
Thomas Forgione 4 years ago
parent 3c016c8fa0
commit 060398d24b
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41

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

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

Loading…
Cancel
Save