refactor view_events_by_date to use DateTime rather than Date, for accuracy