Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1:/tmp/cvs-serv27263/functions
Modified Files:
ical_parser.php
Log Message:
Unset $tz_dstart when finished calculating DTSTART.
Index: ical_parser.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v
retrieving revision 1.132
retrieving revision 1.133
diff -C2 -d -r1.132 -r1.133
*** ical_parser.php 21 Nov 2003 17:01:57 -0000 1.132
--- ical_parser.php 23 Nov 2003 00:11:20 -0000 1.133
***************
*** 797,801 ****
case 'DTSTART':
! $data = str_replace ('/softwarestudio.org/Olson_20011030_5/', '', $data);
$zulu_time = false;
if (substr($data,-1) == 'Z') $zulu_time = true;
--- 797,801 ----
case 'DTSTART':
! $field = str_replace ('/softwarestudio.org/Olson_20011030_5/', '', $field);
$zulu_time = false;
if (substr($data,-1) == 'Z') $zulu_time = true;
***************
*** 846,850 ****
$start_date = date('Ymd', $start_unixtime);
$start_time = date('Hi', $start_unixtime);
! unset($server_offset_tmp);
}
break;
--- 846,850 ----
$start_date = date('Ymd', $start_unixtime);
$start_time = date('Hi', $start_unixtime);
! unset($server_offset_tmp, $offset_tmp, $tz_dtstart);
}
break;
|