updated sod to startOf(day) in moment