Wrong time/date from and to values in timepicker

When I select Yesterday from one of the Quick Ranges, the from and to fields both come out to be now-d/d. Shouldn’t the to value be now/d? This happens for other quick ranges in the same column too. I am on Grafana v4.1.1

the from an to are evaluated (rounded) differently. so the same now-1d means something different in the from field compared to the to field. In the from field it /d aligned with the start of the range, and in the to field it will align with the end of the range.

So when testing this on the https://play.grafana.com it creates the correct time range, so 00:00:00 from the day before to 00:00:00 (start of today).