What the people "saw" and attributed to the moon and sun standing still was the difference on the duration of day and night
And these would have been much more aware of the differences between day and night since they would have done everything dependent on the duration of the hours of daylight for that would be the time frame for work to be done before night came when no man usually worked
Joshua literally records the sun ceased its movement, standing still in the heavens for about a whole day and a day is 24 hours.
This would have been a dramatic miraculous event noticed by all people on the earth.
Then it resumed moving to a normal sunset.
A future miracle to come is when the Lord Jesus returns and every eye will see Him coming on the clouds and will mourn.
How easy for this on a flat earth, but on a globe His returning could not be witnessed by all people at the same time.
Revelation 1:7
Behold, He is coming with clouds, and every eye will see Him, even they who pierced Him. And all the tribes of the earth will mourn because of Him. Even so, Amen.
Acts 1:9-11New King James Version (NKJV)
Jesus Ascends to Heaven
9 Now when He had spoken these things, while they watched, He was taken up, and a cloud received Him out of their sight. 10 And while they looked steadfastly toward heaven as He went up, behold, two men stood by them in white apparel,11 who also said, “Men of Galilee, why do you stand gazing up into heaven? This
same Jesus, who was taken up from you into heaven, will so come in like manner as you saw Him go into heaven.”
That ALL eyes see Him even the ones who pierced Him shows that even those 'under the earth' in hell will see His coming on the clouds.
When He ascended into heaven, this was only witnessed by His people, but His returning will be witnessed by all people who have ever lived through all time and in every place, by those in heaven, those on the earth and those under the earth, so then every knee will bend and every tongue will confess Jesus Christ as Lord to the glory of God the Father.
Philippians 2:9-11New King James Version (NKJV)
9 Therefore God also has highly exalted Him and given Him the name which is above every name, 10 that at the name of Jesus every knee should bow, of those in heaven, and of those on earth, and of those under the earth, 11 and
that every tongue should confess that Jesus Christ
is Lord, to the glory of God the Father.