From 1a6801dadb873d72d3f76e54449601a0e6d7f438 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sat, 1 Dec 2001 04:09:30 +0000 Subject: [PATCH] Will now display the week selectin in the footer in the users preference for date format. --- calendar/inc/class.uicalendar.inc.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/calendar/inc/class.uicalendar.inc.php b/calendar/inc/class.uicalendar.inc.php index 8f1d5ab64d..96676b0783 100755 --- a/calendar/inc/class.uicalendar.inc.php +++ b/calendar/inc/class.uicalendar.inc.php @@ -1723,16 +1723,19 @@ unset($thisdate); $thisdate = mktime(0,0,0,$this->bo->month,$this->bo->day,$this->bo->year) - $this->tz_offset; - $sun = $this->bo->datetime->get_weekday_start($this->bo->year,$this->bo->month,$this->bo->day) - $this->tz_offset - 7200; +// $sun = $this->bo->datetime->get_weekday_start($this->bo->year,$this->bo->month,$this->bo->day) - $this->tz_offset - 7200; + $sun = $this->bo->datetime->get_weekday_start($this->bo->year,$this->bo->month,$this->bo->day) - $this->tz_offset; $str = ''; for ($i = -7; $i <= 7; $i++) { $begin = $sun + (604800 * $i); $end = $begin + 604799; - $str .= ''."\n"; + $str .= ''."\n"; } $var = Array(