Inconsistent handling of all-day events in ical.inc
HorsePunchKid - May 26, 2007 - 03:39
| Project: | Event |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
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. :-(

#1
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.
#2
This patch can help, at least with google calendar and outlook 2007 (for 6.x-2.x-dev)