From 9a55eb6d834ac03de662c66a2b4df2418253bea0 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Wed, 30 Nov 2005 02:20:32 +0000 Subject: change date calcs in several files for compatibility with some php installs that fail to calculate now+something --- month.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'month.php') diff --git a/month.php b/month.php index 0a08ea0..3efc4ac 100644 --- a/month.php +++ b/month.php @@ -13,7 +13,7 @@ $this_month = $day_array2[2]; $this_year = $day_array2[1]; $unix_time = strtotime($getdate); -$today_today = date('Ymd', strtotime("now + $second_offset seconds")); +$today_today = date('Ymd', time() + $second_offset); $tomorrows_date = date('Ymd', strtotime("+1 day", $unix_time)); $yesterdays_date = date('Ymd', strtotime("-1 day", $unix_time)); $sidebar_date = localizeDate($dateFormat_week_list, $unix_time); -- cgit v1.2.3