diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-10-01 23:47:12 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-10-01 23:47:12 +0000 |
commit | edd26d1248867594bf30cf7754731b6c64c9dbfd (patch) | |
tree | f004f41e5b52dfa343461b87571d2a659e45d32b | |
parent | 4eaf9bb8551db86c1d05e27e6bcfd98c00433567 (diff) | |
download | phpicalendar-edd26d1248867594bf30cf7754731b6c64c9dbfd.tar.gz phpicalendar-edd26d1248867594bf30cf7754731b6c64c9dbfd.tar.bz2 phpicalendar-edd26d1248867594bf30cf7754731b6c64c9dbfd.zip |
[ 992744 ] October-November 2004 Transition
-rw-r--r-- | functions/date_functions.php | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |