Increase date range for ics export
This commit is contained in:
parent
4438e03c62
commit
0de2690413
|
|
@ -78,8 +78,8 @@ class Ical extends Base
|
|||
*/
|
||||
private function renderCalendar(TaskFilter $filter, iCalendar $calendar)
|
||||
{
|
||||
$start = $this->request->getStringParam('start', strtotime('-1 month'));
|
||||
$end = $this->request->getStringParam('end', strtotime('+2 months'));
|
||||
$start = $this->request->getStringParam('start', strtotime('-2 month'));
|
||||
$end = $this->request->getStringParam('end', strtotime('+6 months'));
|
||||
|
||||
// Tasks
|
||||
if ($this->config->get('calendar_project_tasks', 'date_started') === 'date_creation') {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ This feature allow you to import Kanboard tasks in almost any calendar program (
|
|||
Calendar subscriptions are **read-only** access, you cannot create tasks from an external calendar software.
|
||||
The Calendar feed export follow the iCal standard.
|
||||
|
||||
Note: Only tasks within the date range of -2 months to +6 months are exported to the iCalendar feed.
|
||||
|
||||
Project calendars
|
||||
-----------------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue