Lesson Learned: Sometimes Leap Year Bugs Occur After February 29

Microsoft Zunes have a problem not with February 29, but the 366th day of the year:

Microsoft has issued its official statement and an FAQ on the Zune.net forums. After “the technical team jumped on the problem immediately,” there appears to be a bug in the 30GB Zune’s internal clock driver related to the way the device handles a leap year. Microsoft recommends allowing affected Zunes to run down their batteries, and come noon, GMT on January 1, 2009, it will be safe to plug in, restart, and once again rock out with the Zune.

Well, that leads to an interesting need for a test case, does it not? If your application works off of calendar days, you need to test February 29 in a leap year; if it does not, or you don’t know how it works, you should check what happens on December 31 in a leap year in case day 366 in a year causes an uh-oh.

Comments are closed.


wordpress visitors