How Grafana's Yesterday Preset Works

When I set the time picker in Grafana to Yesterday , I noticed something curious: both the From and To fields were set to the same value — now-1d/d . How could the same expression define both the start and end of a time range? Curious, I dug into the documentation and source code to understand how this works.