<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>invation emails are handled wrong</title> 
  <pubDate>Fri, 10 Apr 2026 14:48:35 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/11976</link> 
  <atom:link rel="self" type="application/rss+xml" title="invation emails are handled wrong" href="https://bugs.horde.org/ticket/11976/rss" /> 
  <description>invation emails are handled wrong</description> 
 
   
   
  <item> 
   <title>Invitation e-mails typically contain DTSTART and DTEND field</title> 
   <description>Invitation e-mails typically contain DTSTART and DTEND fields. DTEND, according to RFC 2445, 4.6.1, specifies the non-inclusive end of the event.

Kronolith stores the inclusive event end.

When sending an invitation, kronolith properly adjusts the included text/calendar DTEND field.
When receiving an invitation, DTEND is falsely taken as the inclusive end; when accepting an invitation, the event is therefore stored wrongly.

This is especially bad for all-day events, as i.e. a single-day event is stored as/changed to a two-day event.

This already affects displaying the invitation in IMP: Since the displayed info there is based on the text/calendar part of the email, rather than the human-readable part, the end date is displayed wrong.</description> 
   <pubDate>Thu, 17 Jan 2013 11:31:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t76269</link> 
  </item> 
   
  <item> 
   <title>I just wanted to let you know that I cannot follow your prio</title> 
   <description>I just wanted to let you know that I cannot follow your priority change: This bug causes the display of wrong dates upon receiving invitations and changes originally correct data in the back-end to wrong values.

With other words: That piece of functionality is not only useless, but messing up data that was previously correct. Which makes it a &quot;high&quot; priority in my eyes, and I might have understood a &quot;medium&quot; since it doesn&#039;t break all of Horde/Kronolith... but &quot;low&quot;?</description> 
   <pubDate>Fri, 18 Jan 2013 17:59:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t76299</link> 
  </item> 
   
  <item> 
   <title>Cannot reproduce. Imported all-day events from Thunderbird a</title> 
   <description>Cannot reproduce. Imported all-day events from Thunderbird are correctly displayed as single-day events in all Kronolith views.</description> 
   <pubDate>Mon, 21 Jan 2013 17:28:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t76332</link> 
  </item> 
   
  <item> 
   <title>&gt; Cannot reproduce. Imported all-day events from Thunderbird</title> 
   <description>&gt; Cannot reproduce. Imported all-day events from Thunderbird are 
&gt; correctly displayed as single-day events in all Kronolith views.

Are you using a Kolab back-end?</description> 
   <pubDate>Mon, 21 Jan 2013 17:33:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t76333</link> 
  </item> 
   
  <item> 
   <title>I tried with both SQL and Kolab backends.</title> 
   <description>I tried with both SQL and Kolab backends.</description> 
   <pubDate>Mon, 21 Jan 2013 18:02:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t76334</link> 
  </item> 
   
  <item> 
   <title>&gt; Cannot reproduce. Imported all-day events from Thunderbird</title> 
   <description>&gt; Cannot reproduce. Imported all-day events from Thunderbird are 
&gt; correctly displayed as single-day events in all Kronolith views.

My test case:
- create a new event, me as only participant. Single-day, Jan 21.
- I receive the invitation email in my inbox
- I accept the invation and have my event updated

I&#039;ve attached a tar file with the Kolab event as stored in the IMAP backend, both before and after accepting the invitation, as well as the invitation e-mail.

When I display the invitation in IMP, I get the following display:
--- cut here ---
Beginn: 	21.01.2013
Ende: 	22.01.2013
Zusammenfassung: 	test event single day Jan 21
Ort: 	nowhere
Teilnehmer:
Name 	Rolle 	Status
Jens-Uwe Mozdzen 	Erforderlicher Teilnehmer 	Auf Antwort wartend
--- cut here ---

The displayed end date is quite misleading - everyone reading this thinks this is a two-day event. Because the event actually doesn&#039;t end on Jan 22, but Jan 21.

If you look at the HTML version contained in the email, it says the end is Jan 21 23:59:59 - which is correct.

If you compare the two event files, you&#039;ll see the changed end date.</description> 
   <pubDate>Mon, 21 Jan 2013 18:03:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t76335</link> 
  </item> 
   
  <item> 
   <title>&gt; Cannot reproduce. Imported all-day events from Thunderbird</title> 
   <description>&gt; Cannot reproduce. Imported all-day events from Thunderbird are 
&gt; correctly displayed as single-day events in all Kronolith views.

Oh, I forgot: code level is latest from PEAR:

# pear list-upgrades
Channel pear.horde.org: No upgrades available</description> 
   <pubDate>Mon, 21 Jan 2013 18:08:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t76336</link> 
  </item> 
   
  <item> 
   <title>commit 41b7f1264814bcaa9207f0c1e4af1d456bbccc17
Author: Jan</title> 
   <description>commit 41b7f1264814bcaa9207f0c1e4af1d456bbccc17
Author: Jan Schneider &lt;jan at horde.org&gt;
Date:   Sat Jan 26 13:44:25 2013 +0100

    DTEND is non-inclusive.

 imp/docs/CHANGES             |    1 +
 imp/lib/Mime/Viewer/Itip.php |    4 ++--
 imp/package.xml              |    2 ++
 3 files changed, 5 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/41b7f1264814bcaa9207f0c1e4af1d456bbccc17</description> 
   <pubDate>Sat, 26 Jan 2013 12:57:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t76422</link> 
  </item> 
   
  <item> 
   <title>Hi Jan,

&gt; commit 41b7f1264814bcaa9207f0c1e4af1d456bbccc17</title> 
   <description>Hi Jan,

&gt; commit 41b7f1264814bcaa9207f0c1e4af1d456bbccc17
&gt; Author: Jan Schneider &lt;jan at horde.org&gt;
&gt; Date:   Sat Jan 26 13:44:25 2013 +0100
&gt;
&gt;     DTEND is non-inclusive.

I applied the change to my server and it does indeed correct the event display in IMP.

Unfortunately, it does not address the invalid modification of the stored event details:

--- cut here: event data before the event is accepted ---
Content-Type: application/x-vnd.kolab.event; name=kolab.xml
Content-Disposition: inline; x-kolab-type=xml; filename=kolab.xml
Content-Transfer-Encoding: quoted-printable

&lt;?xml version=3D&quot;1.0&quot; encoding=3D&quot;UTF-8&quot;?&gt;
&lt;event version=3D&quot;1.0&quot;&gt;
  &lt;uid&gt;51051cde-17b0-45a1-ab3f-2805c0a86604&lt;/uid&gt;
  &lt;body&gt;single-day all-day event Jan 28&lt;!--a75c305b1c0a6022--&gt;&lt;/body&gt;
  &lt;categories&gt;&lt;/categories&gt;
  &lt;creation-date&gt;2013-01-27T12:26:06Z&lt;/creation-date&gt;
  &lt;last-modification-date&gt;2013-01-27T12:27:30Z&lt;/last-modification-date&gt;
  &lt;sensitivity&gt;public&lt;/sensitivity&gt;
  &lt;product-id&gt;Horde_Kolab_Format_Xml-2.0.2 (api version: 1)&lt;/product-id&gt;
  &lt;summary&gt;test event&lt;/summary&gt;
  &lt;location&gt;test location&lt;/location&gt;
  &lt;start-date&gt;2013-01-28&lt;/start-date&gt;
  &lt;alarm&gt;15&lt;/alarm&gt;
  &lt;horde-alarm-methods&gt;a:0:{}&lt;/horde-alarm-methods&gt;
  &lt;show-time-as&gt;busy&lt;/show-time-as&gt;
  &lt;end-date&gt;2013-01-28&lt;/end-date&gt;
  &lt;attendee&gt;
    &lt;display-name&gt;&lt;/display-name&gt;
    &lt;smtp-address&gt;jmozdzen@nde.ag&lt;/smtp-address&gt;
    &lt;status&gt;none&lt;/status&gt;
    &lt;request-response&gt;false&lt;/request-response&gt;
    &lt;role&gt;required&lt;/role&gt;
  &lt;/attendee&gt;
&lt;/event&gt;
--- cut here ---

--- cut here: stored event details after the event was accepted ---
&lt;?xml version=3D&quot;1.0&quot; encoding=3D&quot;UTF-8&quot;?&gt;
&lt;event version=3D&quot;1.0&quot;&gt;
  &lt;uid&gt;51051cde-17b0-45a1-ab3f-2805c0a86604&lt;/uid&gt;
  &lt;body&gt;single-day all-day event Jan 28&lt;!--a75c305b1c0a6022--&gt;&lt;/body&gt;
  &lt;categories&gt;&lt;/categories&gt;
  &lt;creation-date&gt;2013-01-27T12:26:06Z&lt;/creation-date&gt;
  &lt;last-modification-date&gt;2013-01-27T12:29:37Z&lt;/last-modification-date&gt;
  &lt;sensitivity&gt;public&lt;/sensitivity&gt;
  &lt;product-id&gt;Horde_Kolab_Format_Xml-2.0.2 (api version: 1)&lt;/product-id&gt;
  &lt;summary&gt;test event&lt;/summary&gt;
  &lt;location&gt;test location&lt;/location&gt;
  &lt;start-date&gt;2013-01-28&lt;/start-date&gt;
  &lt;alarm&gt;15&lt;/alarm&gt;
  &lt;horde-alarm-methods&gt;a:0:{}&lt;/horde-alarm-methods&gt;
  &lt;show-time-as&gt;busy&lt;/show-time-as&gt;
  &lt;end-date&gt;2013-01-29&lt;/end-date&gt;
  &lt;attendee&gt;
    &lt;display-name&gt;&lt;/display-name&gt;
    &lt;smtp-address&gt;jmozdzen@nde.ag&lt;/smtp-address&gt;
    &lt;status&gt;none&lt;/status&gt;
    &lt;request-response&gt;false&lt;/request-response&gt;
    &lt;role&gt;required&lt;/role&gt;
  &lt;/attendee&gt;
&lt;/event&gt;
--- cut here ---

As you can see clearly, the &lt;end-date&gt; element was overwritten with the (false) exclusive end date from the invitation e-mail.

(Test case as originally reported - I created an event in my personal calendar and added me as the only invitee - the resulting event entry is listed above - then displayed the resulting invitation email in IMP (this time with correctly displayed end date) and clicked &quot;accept and update in my calendar&quot; - the resulting event entry contains the modified end date, as listed above).

Let me know if I can help out somehow, i.e. by tracing some code path in my installation.</description> 
   <pubDate>Sun, 27 Jan 2013 12:40:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t76428</link> 
  </item> 
   
  <item> 
   <title>After updating to the lastest PEAR code, things still don&#039;t </title> 
   <description>After updating to the lastest PEAR code, things still don&#039;t work for me. (As expected - I just wanted to verify &amp; report back)

- create single-day event, myself as invitee. Kolab/IMAP backend calendar entry has only start-date entry
- open email: gets displayed properly, due to below&#039;s cosmetic fix
- accept email: Kolab/IMAP backend calendar entry changes to start-date, end-date (end date set to start date +1)
- even after logoff/logon, kronolith still shows the calendar view entry as single-day. If I open the event, it does however show the changed end date.
- Logoff, erasing the cache, logon, shows the event as two-day event in kronolith&#039;s calendar view. Horde caching sucks.

Initation handling still seems broken, as accepting the invitation does not adjust the end date according to the differences between invitation and storage semantics for &quot;end-date&quot; and thus wrongly modifies calendar entries. To me, this is a severe error.</description> 
   <pubDate>Sat, 16 Feb 2013 13:21:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t76751</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit f0bebd4284</title> 
   <description>Changes have been made in Git (master):

commit f0bebd4284bd36635b1f63be35089d01622e1729
Author: Michael J Rubinsky &lt;mrubinsk@horde.org&gt;
Date:   Wed Jul 24 12:35:19 2013 -0400

     DTEND is non-inclusive, Kronolith_Event::End is inclusive.

     Bug: 12489

  kronolith/lib/Event.php |    4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/f0bebd4284bd36635b1f63be35089d01622e1729</description> 
   <pubDate>Wed, 24 Jul 2013 16:37:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t79538</link> 
  </item> 
   
  <item> 
   <title>Does this fix?</title> 
   <description>Does this fix?</description> 
   <pubDate>Wed, 24 Jul 2013 16:38:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t79539</link> 
  </item> 
   
  <item> 
   <title>&gt; Does this fix?

Sorry, I must have missed the notificati</title> 
   <description>&gt; Does this fix?

Sorry, I must have missed the notification email for the bug update - yes, it works with latest code. Thanks for fixing!</description> 
   <pubDate>Fri, 01 Nov 2013 10:55:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11976#t81341</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
