bugfix: view_events_by_day, added time to query in order to display correct results