properly handle all-day events