aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-04-27 22:38:02 +0000
committerChad Little <clittle@users.sourceforge.net>2004-04-27 22:38:02 +0000
commit3494f2f872e372f6f96ebaa58ef4183fc33a562c (patch)
treee86c6531885874f4113ad9268694ea229c955f9f /functions
parented58e39da8e2c2044c414c10339318ab4cfc4969 (diff)
downloadphpicalendar-3494f2f872e372f6f96ebaa58ef4183fc33a562c.tar.gz
phpicalendar-3494f2f872e372f6f96ebaa58ef4183fc33a562c.tar.bz2
phpicalendar-3494f2f872e372f6f96ebaa58ef4183fc33a562c.zip
Fix for COMPLETED and DUE for VTODO.
Diffstat (limited to 'functions')
-rw-r--r--functions/ical_parser.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php
index c6904bd..aded636 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -727,8 +727,8 @@ foreach ($cal_filelist as $filename) {
}
ereg ('([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{0,2})([0-9]{0,2})', $data, $regs);
- $start_date = $regs[1] . $regs[2] . $regs[3];
- $start_time = $regs[4] . $regs[5];
+ $due_date = $regs[1] . $regs[2] . $regs[3];
+ $due_time = $regs[4] . $regs[5];
$start_unixtime = mktime($regs[4], $regs[5], 0, $regs[2], $regs[3], $regs[1]);
$dlst = date('I', $start_unixtime);
@@ -774,8 +774,8 @@ foreach ($cal_filelist as $filename) {
}
ereg ('([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{0,2})([0-9]{0,2})', $data, $regs);
- $start_date = $regs[1] . $regs[2] . $regs[3];
- $start_time = $regs[4] . $regs[5];
+ $completed_date = $regs[1] . $regs[2] . $regs[3];
+ $completed_time = $regs[4] . $regs[5];
$start_unixtime = mktime($regs[4], $regs[5], 0, $regs[2], $regs[3], $regs[1]);
$dlst = date('I', $start_unixtime);

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