Why doesn't sunrise shift as we revolve around the sun (ignoring seasonal variations - so at the equator)
This shift is already included in a &quot;day&quot;.
24 hours is already the time from sunrise to sunrise, meaning the Earth has performed a full rotation, plus a little bit more since it has moved along a degree in its orbit. That's solar time, the common usage of a &quot;day&quot;.
The time the Earth needs to rotate exactly once,so that a star is in the same position in the sky, is a sideral day. It's slightly shorter at 23 hours 56 minutes and 4 seconds.
You can convert between them based on the fact that there's one less solar day than sideral days in a year:
$$d_{sideral} = \frac{year}{\frac{year}{d_{solar}} + 1}$$
Note that the difference between a solar and a sideral day is far from the only subtility arising from the Earth's orbit.