Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2277/functions
Modified Files:
date_functions.php
Log Message:
[ 992744 ] October-November 2004 Transition
Index: date_functions.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/date_functions.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** date_functions.php 1 Feb 2004 04:38:45 -0000 1.24
--- date_functions.php 1 Oct 2004 23:47:12 -0000 1.25
***************
*** 39,43 ****
$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);
$ret = date('Ymd',$ret_unixtime);
return $ret;
--- 39,45 ----
$start_day_time = strtotime((date('w',$timestamp)==$num ? "$week_start_day" : "last $week_start_day"), $timestamp);
$ret_unixtime = strtotime($day,$start_day_time);
! // Fix for 992744
! // $ret_unixtime = strtotime('+12 hours', $ret_unixtime);
! $ret_unixtime += (12 * 60 * 60);
$ret = date('Ymd',$ret_unixtime);
return $ret;
|