The verse is taking literally by many Christian Righties who dispute your gloss, as to most real scholars.
But you're reduced to pretending that glossing this verse (badly) will somehow make the Bible compatible with history and science. It won't. Jesus, Genesis 1 has God making the sun AFTER the earth, which of course didn't happen.
Doesn't matter to me, since I'm not a heretical literalist and I realize Genesis is metaphor. But the Religious Right, they don't get it.