Why is that irrelevant? The Bible is very specific that Joshua made the Sun stand still and extended the day. The Bible says that the Sun revolves around the Earth. Is the Bible correct or not?
Where does it say the sun revolves arund the earth in the following text that you are citing:
10:12 Then spake Joshua to the LORD in the day when the LORD delivered up the Amorites before the children of Israel, and he said in the sight of Israel, Sun, stand thou still upon Gibeon; and thou, Moon, in the valley of Ajalon.
I'm sorry to disappoint you, but I'm not a bible scholar.