From edd26d1248867594bf30cf7754731b6c64c9dbfd Mon Sep 17 00:00:00 2001 From: Chad Little Date: Fri, 1 Oct 2004 23:47:12 +0000 Subject: [ 992744 ] October-November 2004 Transition --- functions/date_functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions/date_functions.php b/functions/date_functions.php index 67e96ea..0b6c752 100644 --- a/functions/date_functions.php +++ b/functions/date_functions.php @@ -38,7 +38,9 @@ function dateOfWeek($Ymd, $day) { $num = date('w', strtotime($week_start_day)); $start_day_time = strtotime((date('w',$timestamp)==$num ? "$week_start_day" : "last $week_start_day"), $timestamp); $ret_unixtime = strtotime($day,$start_day_time); - $ret_unixtime = strtotime('+12 hours', $ret_unixtime); + // Fix for 992744 + // $ret_unixtime = strtotime('+12 hours', $ret_unixtime); + $ret_unixtime += (12 * 60 * 60); $ret = date('Ymd',$ret_unixtime); return $ret; } -- cgit v1.2.3