aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
authorjwangen <jwangen>2002-09-30 03:50:40 +0000
committerjwangen <jwangen>2002-09-30 03:50:40 +0000
commit4706c676d2c1995efdac08750f66f5ce37529866 (patch)
tree5bc060e9b38814ebe1c5f09d39a42bde0b6913ea /week.php
parent7aeb7747f21d936f33ced01e19073c6f9957f5a3 (diff)
downloadphpicalendar-4706c676d2c1995efdac08750f66f5ce37529866.tar.gz
phpicalendar-4706c676d2c1995efdac08750f66f5ce37529866.tar.bz2
phpicalendar-4706c676d2c1995efdac08750f66f5ce37529866.zip
dateOfWeek now expects 3 char day names, instead of Apple's 2 char names
Diffstat (limited to 'week.php')
-rw-r--r--week.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/week.php b/week.php
index c740461..d513a9b 100644
--- a/week.php
+++ b/week.php
@@ -18,7 +18,7 @@ $today_today = date ("Ymd");
$next_week = date("Ymd", strtotime("+1 week", $unix_time));
$prev_week = date("Ymd", strtotime("-1 week", $unix_time));
-$start_week_time = strtotime(dateOfWeek($getdate, substr($week_start_day, 0, 2)));
+$start_week_time = strtotime(dateOfWeek($getdate, $week_start_day));
$end_week_time = $start_week_time + (6 * 25 * 60 * 60);
$start_week = strftime($dateFormat_week, $start_week_time);

© 2014-2024 Faster IT GmbH | imprint | privacy policy