added support for all-day events (still no functionality for multi-day events)