Bug Online još uvijek ne donosi vijest o apokalipsi koja je zadesila vlasnike Zune 30GB playera koji je odlučio prestati raditi jer su programeri sfušali nešto oko datuma i prijestupne godine. Dobra vijest je da treba samo isprazniti bateriju i pričekati da prođe prekobrojni dan.
IZVOR:
http://arstechnica.com/news.ars/post/20081231-30gb-zunes-prepare-for-new-year-by-locking-up.html
Stranica http://www.zuneboards.com/forums/zune-news/38143-cause-zune-30-leapyear-problem-isolated.html
donosi i sporan dio koda...
year = ORIGINYEAR; /* = 1980 */
while (days > 365)
{
if (IsLeapYear(year))
{
if (days > 366)
{
days -= 366;
year += 1;
}
}
else
{
days -= 365;
year += 1;
}
}