Added location
This commit is contained in:
parent
3c016c8fa0
commit
060398d24b
|
@ -237,7 +237,7 @@ module.exports.calendarData = function(req, res, render) {
|
||||||
}
|
}
|
||||||
|
|
||||||
events.push({
|
events.push({
|
||||||
title: event.name,
|
title: event.name + '\n' + event.location,
|
||||||
start: event.startTime,
|
start: event.startTime,
|
||||||
end: event.finishTime,
|
end: event.finishTime,
|
||||||
});
|
});
|
||||||
|
|
|
@ -7,7 +7,6 @@ var locale = require('os-locale').sync();
|
||||||
var cal = {};
|
var cal = {};
|
||||||
|
|
||||||
function fromIcal(string) {
|
function fromIcal(string) {
|
||||||
console.log(string);
|
|
||||||
return new Date(
|
return new Date(
|
||||||
parseInt(string.substr(0 , 4), 10),
|
parseInt(string.substr(0 , 4), 10),
|
||||||
parseInt(string.substr(4 , 2), 10) - 1,
|
parseInt(string.substr(4 , 2), 10) - 1,
|
||||||
|
|
Loading…
Reference in New Issue