I discovered something this weekend: I no longer like driving in the dark. I just don't like being blinded by other cars headlights.
My wife & I were away for the weekend and had a ~6 hour drive home. We had to visit her family for lunch on the way back. AFAIK no Google Maps will allow me to say "I want to drive from A to B, stay there for at least N minutes, and then resume my journey to C so that I don't spend any time in the dark".
So I had Claude build it. It helped us realise that we could leave the hotel before 09:30, to arrive for lunch at 11:30, but would have to leave at 13:30 (at the latest) if we wanted to be home before dark.
If you have a Mapbox API token then you can try it out below.
Daylight Drive
Settings
Saved on this device only. Use a public pk. token and restrict it to this site's URL in your Mapbox account, as anyone can read it from the page.
Not set. Pick a place in “From”, then tap the house button to save it as home.
Sun times are calculated on this device for every point along the route at the moment you'd pass it. Drive times use predicted traffic where available.