added endOfDay to end-date determination for day_view. Otherwise it was set to the start of the day (in ISO format), which leads to wrong JSON requests for event sources