aboutsummaryrefslogtreecommitdiffstats
path: root/ical_parser.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-09-19 07:08:48 +0000
committerChad Little <clittle@users.sourceforge.net>2002-09-19 07:08:48 +0000
commitd23bab7916e1c0c9c3813e73a08ecb71ed2d62db (patch)
tree26a03e71508c7898fdd1dc0060a67dab820e40c5 /ical_parser.php
parent7af2dba26886a5b3e45f918c902e16703c9cb415 (diff)
downloadphpicalendar-d23bab7916e1c0c9c3813e73a08ecb71ed2d62db.tar.gz
phpicalendar-d23bab7916e1c0c9c3813e73a08ecb71ed2d62db.tar.bz2
phpicalendar-d23bab7916e1c0c9c3813e73a08ecb71ed2d62db.zip
Split out better comments on RRULE, added arrays for BY functions.
Diffstat (limited to 'ical_parser.php')
-rw-r--r--ical_parser.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/ical_parser.php b/ical_parser.php
index c8edec5..c310ce4 100644
--- a/ical_parser.php
+++ b/ical_parser.php
@@ -179,9 +179,9 @@ foreach($contents as $line) {
$allday_start = date ("Ymd", $date);
$allday_end = date ("Ymd", $end_date);
- echo "$allday_start, $allday_end ---- ";
+ //echo "$allday_start, $allday_end ---- ";
}
- echo "$interval - $number - $date - $recur_year - $this_year - ";
+ //echo "$interval - $number - $date - $recur_year - $this_year - ";
// This steps through each day of a multiple all-day event
$start_of_vevent = strtotime("$allday_start");
@@ -191,7 +191,7 @@ foreach($contents as $line) {
$check_year = date("Y", $start_of_vevent);
// Only write the current year
if ($this_year == $check_year) {
- echo "date_written<br>";
+ //echo "date_written<br>";
$master_array[($start_date)][("0001")]["event_text"][] = "$summary";
}
$start_of_vevent = ($start_of_vevent + (24*3600));

© 2014-2024 Faster IT GmbH | imprint | privacy policy