diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-29 03:07:34 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-29 03:07:34 +0000 |
commit | 50ce9c8c7c7ac6b8c3137e84ec4da8a1bbe38a12 (patch) | |
tree | db0b8b6315decf58289016c5472ed52fc7a9784f /functions/list_functions.php | |
parent | cb7df8518466fe3a1e70df815dca056730cbbbc5 (diff) | |
download | phpicalendar-50ce9c8c7c7ac6b8c3137e84ec4da8a1bbe38a12.tar.gz phpicalendar-50ce9c8c7c7ac6b8c3137e84ec4da8a1bbe38a12.tar.bz2 phpicalendar-50ce9c8c7c7ac6b8c3137e84ec4da8a1bbe38a12.zip |
change handling of multiday allday events in week view; other misc changes
Diffstat (limited to 'functions/list_functions.php')
-rw-r--r-- | functions/list_functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/list_functions.php b/functions/list_functions.php index 2775059..fb97354 100644 --- a/functions/list_functions.php +++ b/functions/list_functions.php @@ -76,13 +76,13 @@ function list_years() { function list_weeks() { - global $getdate, $this_year, $cal, $dateFormat_week_jump, $week_start_day; + global $getdate, $this_year, $cal, $dateFormat_week_jump, $phpiCal_config; ereg ("([0-9]{4})([0-9]{2})([0-9]{2})", $getdate, $day_array2); $this_day = $day_array2[3]; $this_month = $day_array2[2]; $this_year = $day_array2[1]; $check_week = strtotime($getdate); - $start_week_time = strtotime(dateOfWeek(date("Ymd", strtotime("$this_year-01-01")), $week_start_day)); + $start_week_time = strtotime(dateOfWeek(date("Ymd", strtotime("$this_year-01-01")), $phpiCal_config->week_start_day)); $end_week_time = $start_week_time + (6 * 25 * 60 * 60); $return = ''; |