Then spoke Joshua to Yahweh in the day when Yahweh delivered up the Amorites before the children of Israel; and he said in the sight of Israel, Sun, stand you still on Gibeon; You, Moon, in the valley of Aijalon.
Boling called this interpretation "the popular interpretation"; and so it is.  It is found in Thomas Morrell's libretto for Georg Friedrich Handel's famed oratorio, Joshua, written in 1747.  Here it is: