open ended events only last 30 minutes #15

Open
opened 2014-09-13 10:28:25 +02:00 by andibraeu · 8 comments
andibraeu commented 2014-09-13 10:28:25 +02:00 (Migrated from github.com)

If events don't have an enddate, their duration will be set to 30 mins in ICS files.
is it maybe restricted by ics?

for example see: http://ics.freifunk.net/tags/weimar.ics

BEGIN:VEVENT
UID:
DTSTART:20140916T180000Z
DTEND:20140916T183000Z
SUMMARY:Weimarer Freifunktreffen
DESCRIPTION:Wir treffen uns wöchentlich und lösen Probleme, helfen I
 nteressenten oder bieten Vorträge an.
LOCATION:Maschinenraum, Marienstr. 18, Weimar
GEO:50.974984401582;11.329435676325
URL:http://wireless.subsignal.org/index.php?title=Treffen
END:VEVENT
If events don't have an enddate, their duration will be set to 30 mins in ICS files. is it maybe restricted by ics? for example see: http://ics.freifunk.net/tags/weimar.ics ``` BEGIN:VEVENT UID: DTSTART:20140916T180000Z DTEND:20140916T183000Z SUMMARY:Weimarer Freifunktreffen DESCRIPTION:Wir treffen uns wöchentlich und lösen Probleme, helfen I nteressenten oder bieten Vorträge an. LOCATION:Maschinenraum, Marienstr. 18, Weimar GEO:50.974984401582;11.329435676325 URL:http://wireless.subsignal.org/index.php?title=Treffen END:VEVENT ```
andibraeu commented 2014-09-13 10:35:20 +02:00 (Migrated from github.com)
got it: https://github.com/enko/ICS/blob/master/src/Jsvrcek/ICS/Model/CalendarEvent.php#L150
enko commented 2014-09-29 11:55:40 +02:00 (Migrated from github.com)

At Sat, 13 Sep 2014 01:28:25 -0700,
Andi wrote:

If events don't have an enddate, their duration will be set to 30
mins in ICS files. is it maybe restricted by ics?

Looking at the RFC under 3.6.1
dtend is defined as following:

; Either 'dtend' or 'duration' MAY appear in
; a 'eventprop', but 'dtend' and 'duration'
; MUST NOT occur in the same 'eventprop'.

This concludes that dtend can be ommited and should be. I'll look into
the code and remove that in my fork.

At Sat, 13 Sep 2014 01:28:25 -0700, Andi wrote: > If events don't have an enddate, their duration will be set to 30 > mins in ICS files. is it maybe restricted by ics? Looking at the [RFC](http://tools.ietf.org/html/rfc5545) under 3.6.1 dtend is defined as following: ``` ; Either 'dtend' or 'duration' MAY appear in ; a 'eventprop', but 'dtend' and 'duration' ; MUST NOT occur in the same 'eventprop'. ``` This concludes that dtend can be ommited and should be. I'll look into the code and remove that in my fork.
enko commented 2014-09-29 19:48:59 +02:00 (Migrated from github.com)

The bad thing is, all the calendar implementations that I have tested so far do not support an optional enddate. Software I have tested:

  • Thunderbird
  • OwnCloud
  • Outlook
  • Stock Android calendar

So I think it is safe to asume that the enddate should be required, event though I do not like this idea.

What are your thought about this @andibraeu?

The bad thing is, all the calendar implementations that I have tested so far do not support an optional enddate. Software I have tested: - Thunderbird - OwnCloud - Outlook - Stock Android calendar So I think it is safe to asume that the enddate should be required, event though I do not like this idea. What are your thought about this @andibraeu?
fpunktk commented 2014-09-29 20:06:52 +02:00 (Migrated from github.com)

You could set the enddate automatically to one hour after the start and/or add buttons for durations like "one hour", "two hours", "until midnight", ...

You could set the enddate automatically to one hour after the start and/or add buttons for durations like "one hour", "two hours", "until midnight", ...
andibraeu commented 2014-09-29 20:29:23 +02:00 (Migrated from github.com)

maybe we should simply write something into the form, so users know about the fact

"if you don't enter an enddate the event will be automatically last 1 hour"

maybe we should simply write something into the form, so users know about the fact "if you don't enter an enddate the event will be automatically last 1 hour"
andibraeu commented 2014-10-07 18:02:14 +02:00 (Migrated from github.com)

Could you make the default value configurable?

Could you make the default value configurable?
enko commented 2016-06-09 18:14:49 +02:00 (Migrated from github.com)

I have recently switched the library which generates the ics file and this library makes the enddate also optional, so if you dont specify it, it will not appear in the ics file:

https://calcifer-test.datenknoten.me/tags/test.ics

Maybe someone can test the file?

I have recently switched the library which generates the ics file and this library makes the enddate also optional, so if you dont specify it, it will not appear in the ics file: https://calcifer-test.datenknoten.me/tags/test.ics Maybe someone can test the file?
enko commented 2016-06-09 18:52:51 +02:00 (Migrated from github.com)

Hmm, Google Calendar displays this event from 20:00 to 21:00 even though no enddate is specified.

Hmm, Google Calendar displays this event from 20:00 to 21:00 even though no enddate is specified.
This repo is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Krautspace/calcifer#15
No description provided.