fix by-day date calculations being a day off when the UTC date didn't match up with the day in the current locale