aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-20 00:33:14 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-20 00:33:14 +0000
commit9cc4b1667897ac0e9db28044d96e7b96a7ac38e5 (patch)
tree9ba349e112a4a242a04b895ea69ab7b349018402 /week.php
parentedd9a9fd1a3451f7868400fcf9d2ebe0cf563c51 (diff)
downloadphpicalendar-9cc4b1667897ac0e9db28044d96e7b96a7ac38e5.tar.gz
phpicalendar-9cc4b1667897ac0e9db28044d96e7b96a7ac38e5.tar.bz2
phpicalendar-9cc4b1667897ac0e9db28044d96e7b96a7ac38e5.zip
misc minor fixes
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 1807eb7..4f9ddbd 100644
--- a/week.php
+++ b/week.php
@@ -10,7 +10,7 @@ if ($phpiCal_config->minical_view == "current") $minical_view = "week";
$starttime = "0500";
$weekstart = 1;
$unix_time = strtotime($getdate);
-$today_today = date('Ymd', time() + $second_offset);
+$today_today = date('Ymd', time() + $phpiCal_config->second_offset);
$next_week = date("Ymd", strtotime("+1 week", $unix_time));
$prev_week = date("Ymd", strtotime("-1 week", $unix_time));
$next_day = date('Ymd', strtotime("+1 day", $unix_time));

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