Unclear RFC definition for ical whole day events
This commit is contained in:
parent
e94ddcb4ca
commit
dbccf93a8d
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ cal = RiCal.Calendar do |cal|
|
|||
event.summary = e[:title]
|
||||
event.description = ""
|
||||
event.dtstart = e[:startdate]
|
||||
event.dtend = e[:enddate]
|
||||
event.dtend = (e[:enddate]+1) # Unclear RFC definition, see http://www.bedework.org/trac/bedework/wiki/Bedework/DevDocs/DtstartEndNotes
|
||||
if e[:location]
|
||||
if e[:location][:details]
|
||||
event.location = "#{e[:location][:name]}, #{e[:location][:details]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue