Summary | iCalendar DTEND wrong date |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | chuck (at) horde (dot) org |
Requester | rsalmon (at) mbpgroup (dot) com |
Created | 08/21/2007 (6505 days ago) |
Due | |
Updated | 04/07/2009 (5910 days ago) |
Assigned | |
Resolved | 08/22/2007 (6504 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ iCalendar DTEND wrong date
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
I guess over righting and reading the same value at the same time
doesn't work all the time.
--- /var/www/html/horde/framework/iCalendar/iCalendar.php
2007-06-27 19:23:11.000000000 +0200
+++ iCalendar.php 2007-08-21 11:59:05.000000000 +0200
@@ -848,9 +848,9 @@
// VCALENDAR 1.0 uses T000000 - T235959 for
all day events:
if ($this->isOldFormat() && $name == 'DTEND') {
$value = new Horde_Date(array(
- 'year' => $value->year,
- 'month' => $value->month,
- 'mday' => $value->mday - 1));
+ 'year' => $attribute['value']['year'],
+ 'month' => $attribute['value']['month'],
+ 'mday' =>
($attribute['value']['mday'] - 1)));
$value->correct();
$value = $this->_exportDate($value, '235959');
} else {