diff --git a/code/Calendar.php b/code/Calendar.php index 880fb75..7c1df72 100755 --- a/code/Calendar.php +++ b/code/Calendar.php @@ -493,7 +493,7 @@ public function getView() { public function setDefaultView() { $this->view = "default"; $this->startDate = sfDate::getInstance(); - $this->endDate = sfDate::getInstance()->addMonth(6); + $this->endDate = sfDate::getInstance()->addMonth($this->DefaultFutureMonths); } public function setTodayView() {