How long ago can I search my pet’s historical locations on the trip screen?

Up to 7 days.