A clock and a shadow stick (sundial) measure two different things.

What Do Clocks Measure?
A clock measures time passing in minutes in standard time zones that humans created.

What Do Shadow Sticks and Sundials Measure?
These measure the Earth's actual movement as it rotates on its axis each day (called "local apparent time"). The length of shadows and actual daylength differ from place to place and from day to day as the earth revolves around the sun.

How Do Time Zones Fit In?