The six-day scheme ending in the seventh day has nothing to do with the time God took - that’s a ridiculous idea
God is not man, He does not weary or need rest.
It is a reflection of the theology of the “Priestly” writer, or P for short, who is interested in indications of time, & in the worship of Israel; so he tells of creation by God in a way which emphasises the importance of time & of the sabbath.
The fuss over “evolution” versus “creation” is a modern concern, which has been imposed upon the text. There is no more reason or justification to find it in the Bible than there is to find the Heimlich Manouevre in the Fathers. P & J were not concerned with questions of what processes God used in creation - to look to them for answers to questions they do not even consider is to treat the Bible in the superstitious way people do when they expect an answer to a problem by opening it at random. Why should the ancients have bothered themselves with our controversies ? P & J are concerned with the fact that God is the Unique & Sovereign Creator - not with the
biological or palaeological or other-ological details that are so vitally important to “evolutionists” or “creationists”.
So those passages, like others which have implications for Israel’s ideas about “first things” such as “creation” do not exclude evolutionary ideas; they are not written with them in mind. The whole controversy is a gigantic fuss over nothing - if the Bible had been read with its environment & development in mind, the whole wretched controversy need never have arisen. But when the understanding of these passages traditional in the Churches was being formed, the environment in which the texts developed had been forgotten.

Only in recent centuries has some of it been recovered, & Biblical scholars would be acting wrongly to ignore this.