Leap years plus BCD are a nasty combo

I am working on the final touches (I hope) to the VMUFAT filesystem.

It has to write dates to disk in binary coded decimal, which is problem enough. But leap years are the real pain.

Perhaps I should be happy that I have now discovered a bug in the code, and in any other year it would slip past. But it is still something I could do without.