I was thinking of contracts that say "payment is due on 6 October" from before they knew the date of the change.
It's one of those "well technically" things programmers love to obsess over and the judge just says "everyone knows what was meant, stop being an idiot."
I assume there is a way to handle this in modern contract law. Surely people have forgotten how long the various months are and written contracts referring to April 31.
It's one of the reasons that they spell it out, or do things like "define what month is, and then the payment is due X months out" and not on a specific date.