From 6c440982ba921968ef40e86c50e69666a5be3bbb Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 24 Oct 2012 15:18:52 +0200 Subject: [PATCH] Added past events to ical proxy --- php/cocal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/cocal.php b/php/cocal.php index f572729..d59344f 100644 --- a/php/cocal.php +++ b/php/cocal.php @@ -133,8 +133,8 @@ if (isset($matrnr) && isset($passwd)) { /* request calendar */ $calParams = array( - 'startdt' => strftime('%d.%m.%Y'), - 'enddt' => strftime('%d.%m.%Y', time() + 6*31*24*60*60) /* halbes Jahr == ein Semester */ + 'startdt' => strftime('%d.%m.%Y', time() - 7*24*60*60), /* eine Woche Vergangenheit */ + 'enddt' => strftime('%d.%m.%Y', time() + 6*31*24*60*60) /* halbes Jahr ZUukunft */ ); $response = curl_request('GET', $baseUrl . $calPath, $cookieFile, $calParams);