[6.x] Avoid calling ->startOfDay() on date range dates
#13865
+2
−2
->startOfDay() on date range dates
#13865