Set startOfDay on Y-m-d attributes.
Merge branch '4.0'