EU demands that all discounts show an anchor price that is the lowest price for that item since at least 30 days (https://europa.eu/youreurope/citizens/consumers/unfair-treat...).
Seems practical and sensible to me (not perfect prevention, but causes lots of delay, and going "against the spirit" of rules like this is somewhat legally risky, too).
That is, how can a customer use this to distinguish between (1) an item cost 100€, the seller raised it to 130€ and then offered a sale at 100€; (2) the item originally cost 130€ and the sale brought it down to 100€.
It's not a panaceum, but it introduces enough delay to curb the worst offences (e.g. weekly/biweekly "sales", or absurd price hikes days before a "sale") that used to be common in the past.
In the EU, the law is that advertised discounts must use the lowest offered price from the previous 30 days as the reference price. That seems fairly straightforward.