6.0.0-alpha12
6/12/25

[#5652] iCalendar DTEND wrong date
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

History
04/07/2009 05:33:16 PM Jessieluv22 (at) aol (dot) com Comment #4 Reply to this comment
whTA IS THE NAME OF THE RESTUARNT
04/07/2009 05:32:55 PM Jessieluv22 (at) aol (dot) com Comment #3 Reply to this comment
whTA IS THE NAME OF THE RESTUARNT
08/22/2007 01:30:19 AM Chuck Hagenbuch Comment #2
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Reply to this comment
Makes sense to me. Thanks for the patch, it's been committed.
08/21/2007 10:05:00 AM rsalmon (at) mbpgroup (dot) com Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ iCalendar DTEND wrong date
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
Reply to this comment
I am trying to sync a calendar and it does work with the path below



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 {


Saved Queries