The event module currently represents all-day events as starting at midnight and ending at 23:59. The iCalendar code considers events whose start and end dates are the same to be all-day (see ical.inc line 41). I think neither of these approaches is ideal, but one way or another, the discrepancy should get resolved.

The problem with the former approach is that it's slightly ambiguous. The problem with the latter is that it can't represent multi-day all-day events (and it's probably better suited to representing instantaneous events). I don't have a better suggestion at the moment, short of adding a flag, which would probably force a bifurcation of most of the queries. :-(

CommentFileSizeAuthor
#2 event_ical_all_day.patch1.24 KBtatyana

Comments

killes@www.drop.org’s picture

I agree that this needs fixing especially that we now have the allday column. The ical part needs a bit to be reworked.I am wondering what to do with the location stuff in event_node_ical.

tatyana’s picture

StatusFileSize
new1.24 KB

This patch can help, at least with google calendar and outlook 2007 (for 6.x-2.x-dev)

japerry’s picture

Status: Active » Closed (outdated)

Event for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.