moment changed .sod() to .startOf('day')