This would depend on the child’s age, communication skills, and whether he or she finds public diaper changes to be embarrassing.
The change needs to be done if the diaper is dirty enough for you to notice it. It is only a question of the best place to do it.