If I say yesterday's cake, I will say: it's fresh, and then explain to him that buying a cake is not as spicy as selling steamed bread. The cake is put on the shelf on purpose, but if there is no preservative or the like, it should be refrigerated before eating. -{a little dishonest}
If the cake goes bad, you can handle it yourself.