Sleep and the length of days

Is it just a coincidence that humans require roughly the same amount of sleep as there are hours during the night?

In other words, is the amount of sleep that is “healthy” for us the result of long centuries of nurturing and tradition or is it biological?

In other words, if the day were 30 hours long, would we sleep more or work more?

This might keep me up at night…