Added location
This commit is contained in:
parent
3c016c8fa0
commit
060398d24b
|
@ -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…
Reference in New Issue