Increase date range for ics export
This commit is contained in:
@@ -78,8 +78,8 @@ class Ical extends Base
|
|||||||
*/
|
*/
|
||||||
private function renderCalendar(TaskFilter $filter, iCalendar $calendar)
|
private function renderCalendar(TaskFilter $filter, iCalendar $calendar)
|
||||||
{
|
{
|
||||||
$start = $this->request->getStringParam('start', strtotime('-1 month'));
|
$start = $this->request->getStringParam('start', strtotime('-2 month'));
|
||||||
$end = $this->request->getStringParam('end', strtotime('+2 months'));
|
$end = $this->request->getStringParam('end', strtotime('+6 months'));
|
||||||
|
|
||||||
// Tasks
|
// Tasks
|
||||||
if ($this->config->get('calendar_project_tasks', 'date_started') === 'date_creation') {
|
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.
|
Calendar subscriptions are **read-only** access, you cannot create tasks from an external calendar software.
|
||||||
The Calendar feed export follow the iCal standard.
|
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
|
Project calendars
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user