|
From: <par...@us...> - 2009-02-05 15:38:33
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv30489/functions Modified Files: date_functions.php Log Message: Fix timezone DST calculation with all-day events: Bug #2557336 Index: date_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/date_functions.php,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** date_functions.php 5 Feb 2009 15:34:44 -0000 1.51 --- date_functions.php 5 Feb 2009 15:38:24 -0000 1.52 *************** *** 279,283 **** } // Set the values. ! $unixtime = calcTime($offset_tmp, $server_offset_tmp, $unixtime); #echo "offset_tmp $offset_tmp, server_offset_tmp $server_offset_tmp, $unixtime =".date("Ymd His",$unixtime)." $time<br>"; $date = date('Ymd', $unixtime); --- 279,283 ---- } // Set the values. ! if ($allday == '') $unixtime = calcTime($offset_tmp, $server_offset_tmp, $unixtime); #echo "offset_tmp $offset_tmp, server_offset_tmp $server_offset_tmp, $unixtime =".date("Ymd His",$unixtime)." $time<br>"; $date = date('Ymd', $unixtime); |