We have adapted to the sun, our adaptation to the sun largely comes in the form of our brain being amazing enough to adapt and create on the fly. In hot climates we dig for water wear fewer clothes and create our own shade.
In cold climates we adapt with well insulated homes, thick clothing and central heating.
Animals without our amazing brains adapt in other ways, with thick fur coats in the cold (polar bear, penguins, snow leapord) and bare skin in the warmth (elephants, rhinos, hippos).
doesn't stop the sun from damaging your skin and eyes
that's not evolution anyway it's intelligence/survival of the fittest
why is everyone not in bed anyway? :O you don't evolve and get a job?