[kronolith] Invitation e-mail wrong?

Jens-U. Mozdzen jmozdzen at nde.ag
Wed Jan 16 16:28:50 UTC 2013


Hi,

I'm wondering if what I get to see here is what is to expect. No, not  
really, I think this is STRANGE:

Latest H5 from PEAR, i.e. kronolith is 4.0.3.

I'm creating an all-day event for Jan 18. Start date is Jan 18, end  
date is Jan 18. I have two attendees (one is myself, one is someone  
else).

--- cut here: IMAP event file excerpt after event creation ---
   <start-date>2013-01-18</start-date>
   <alarm>15</alarm>
   <horde-alarm-methods>a:0:{}</horde-alarm-methods>
   <show-time-as>busy</show-time-as>
   <end-date>2013-01-18</end-date>
--- cut here ---

The resulting email I receive (in Horde) says begin Jan 18, end Jan 19  
(when opened in H5 IMP).

Excerpt from the email source:

--- cut here ---
Content-Type: text/html; charset=UTF-8

         <tr bgcolor="#f1f1f1">
           <td nowrap="nowrap" align="right">
             <font size="2"><strong>Beginn:</strong></font>
           </td>
           <td width="5"> </td>
           <td width="100%"><font size="2"><strong>18.01.2013  
00:00:00</strong></font></td>
         </tr>
         <tr>
           <td nowrap="nowrap" align="right">
             <font size="2"><strong>Ende:</strong></font>
           </td>
           <td width="5"> </td>
           <td width="100%"><font size="2"><strong>18.01.2013  
23:59:59</strong></font></td>
         </tr>

Content-Type: text/calendar; name=event-invitation.ics; METHOD=REQUEST;
  charset=UTF-8
Content-Disposition: attachment; filename=event-invitation.ics

DTSTART;VALUE=DATE:20130118
DTEND;VALUE=DATE:20130119
X-FUNAMBOL-ALLDAY:1
DTSTAMP:20130116T155941Z
UID:50f53316-4260-46d0-bb6a-40b4c0a86604
CREATED:20130115T104503Z
LAST-MODIFIED:20130116T155942Z

Content-Type: application/ics; name=event-invitation.ics; METHOD=REQUEST
Content-Disposition: attachment; filename=event-invitation.ics

BEGIN:VEVENT
DTSTART;VALUE=DATE:20130118
DTEND;VALUE=DATE:20130119
X-FUNAMBOL-ALLDAY:1
DTSTAMP:20130116T155941Z
UID:50f53316-4260-46d0-bb6a-40b4c0a86604
CREATED:20130115T104503Z
LAST-MODIFIED:20130116T155942Z
--- cut here ---

Please note that the HTML shows Jan 18 only, while the ICS parts show 18 - 19!

After I accepted the email (accept change and update calendar),  
kronolith now says "start date Jan 18, end date Jan 19", but displays  
it for Jan 18 only:

--- cute here: IMAP event file ---
   <start-date>2013-01-18</start-date>
   <alarm>15</alarm>
   <horde-alarm-methods>a:0:{}</horde-alarm-methods>
   <show-time-as>busy</show-time-as>
   <end-date>2013-01-19</end-date>
--- cut here ---

Why this inconsistency: Either a single-day all-day event has start  
date == end date, then the changing this is wrong. Or a single-day  
all-day event should be entered with an end date as "start date + 1",  
then why isn't this displayed by kronolith right after saving the event?

What puzzles me more: When I create another event, two-days all-day  
from Jan 18 to Jan 19, it's displayed by krono for both days and the  
IMAP file has "<start-date>2013-01-18</start-date>",  
"<end-date>2013-01-19</end-date>", so basically what I have for the  
first event after accepting the invitation - but event1 is displayed  
for Jan 18 only, while event2 is displayed for Jan 18 and Jan 19.

Heeeeelp.

Regards,
Jens




More information about the kronolith mailing list