Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

open ended events only last 30 minutes #15

Open
andibraeu opened this issue Sep 13, 2014 · 8 comments
Open

open ended events only last 30 minutes #15

andibraeu opened this issue Sep 13, 2014 · 8 comments
Assignees
Milestone

Comments

@andibraeu
Copy link
Contributor

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
Copy link
Contributor Author

@enko
Copy link
Member

enko commented Sep 29, 2014

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.

@enko
Copy link
Member

enko commented Sep 29, 2014

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
Copy link
Member

fpunktk commented Sep 29, 2014

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
Copy link
Contributor Author

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
Copy link
Contributor Author

Could you make the default value configurable?

@enko
Copy link
Member

enko commented Jun 9, 2016

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 enko self-assigned this Jun 9, 2016
@enko enko added this to the 1.0 milestone Jun 9, 2016
@enko
Copy link
Member

enko commented Jun 9, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants