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 --- functions/list_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions/list_functions.php') diff --git a/functions/list_functions.php b/functions/list_functions.php index 5d62fb7..a14f5f6 100644 --- a/functions/list_functions.php +++ b/functions/list_functions.php @@ -3,7 +3,7 @@ function list_jumps() { global $second_offset, $lang, $cal; $calName = getCalendarName($cal); - $today = date('Ymd', strtotime("now + $second_offset seconds")); + $today = date('Ymd', time() + $second_offset); $return = ''; $return .= ''; $return .= ''; -- cgit v1.2.3