I was taught that for counterfactual situations whose time frame is in the present: if + simple past, would/could/might
Then why is would have used instead of would in this case?
If this was two years ago, I would have given five stars and raved about the quality of the food that I had ordered.
Another example:
The speaker is talking to his enemies:
"I don't want to hurt anyone. I'll do everything I can to keep myself from having to." That's how the old me would've approached this. But things are different now.
Again, it seems to me the time frame is in the present. Why not say "That's how the old me would approach this"?