I just realized that the timeline doesn’t exactly jive with ROTS. I always assumed ROTS took place over the span of several months. The last few episodes show anakin and obi-wan called to rescue Palpatine right before the siege of mandalore. That would suggest that ROTS only takes place over a couple days.
I’ve thought about that too. But it actually does work out. If you think about it, the timelines only have to match until Order 66.
The comment below this explains everything in detail.