First let me clear up what seems to be a misunderstanding: At the time of Ptolemy (100–168 AD), people had regarded Earth as spherical some 700 years back in time: According to the biographer Diogenes Laertius (~3rd century BC), the first to call Earth a sphere was Pythagoras (570–495 BC), although it was more likely his contemporary, Parmenides (~500 BC).
The Greek polymath Eratosthenes (c. 276–195 BC) famously calculated Earth's circumference and he also, as the first, calculated correctly the tilt of Earth's axis.
But if you go further back in time, both through the Greeks Xenophanes (c. 570–478 BC), Anaximenes (c. 586–526 BC), Anaximander (c. 610–546 BC), and Thales (c. 626–548 BC), and to Egyptians, Babylonians, and Chinese natural philosophers, it is true that the preferred model of the Earth was a flat, or semi-flat (shield-shaped), disk-like mass floating in either space or water. And it is true that in this model, you cannot explain the difference in the length of the day on different latitudes1,2.
So the answer to your question is: They didn't.
Natural philosophy at this time was dominated by Mediterranean and Middle Eastern civilizations, and although they did travel, their journeys were more in the east-west direction than in the north-south direction.
As I've mentioned in this answer about Aristotle's arguments for a round Earth travelers from the north did report shorter days, and journeys from east to west seemed to take a shorter time than the opposite direction (because the travelers followed the Sun's direction). However, these arguments weren't really used by Aristotle, possibly because he didn't trust any observations but his own.
1 Well, to some extent you can on a shield-shaped Earth, and if you're a modern flat-earther you can claim that the Sun shines like a flashlight in whichever direction fits your model.
2 Note also, as James K comments, that your premise is slightly inaccurate, as a six months of 24-hour daylight/nighttime only occurs at the poles, whereas the closer you get to the polar circles, the fewer days of constant darkness/light you will have.