Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1:/tmp/cvs-serv6848/functions
Modified Files:
ical_parser.php
Log Message:
Moved duration figuring out to the beginning of END:VEVENT.
Index: ical_parser.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v
retrieving revision 1.116
retrieving revision 1.117
diff -C2 -d -r1.116 -r1.117
*** ical_parser.php 14 Nov 2003 05:15:21 -0000 1.116
--- ical_parser.php 14 Nov 2003 05:47:26 -0000 1.117
***************
*** 117,120 ****
--- 117,123 ----
} elseif ($line == 'END:VEVENT') {
+ $end_unixtime = $start_unixtime + $the_duration;
+ $end_time = date ('Hi', $end_unixtime);
+
// CLASS support
if (isset($class)) {
|