changed Shift.date from DateTime to Date