The Millennium Bug
Real disaster: The Y2K (Millennium) Bug (2000)
“Byte! The toy factory thinks it is 1900. The calendar has gone backwards, the payroll has vanished, and one very old elf has been declared a newborn.”
1Incident briefing
🧝 From Byte, Chief Elf Engineer
At midnight, the Grinch Patch changes the year from 99 to 00. That sounds harmless until every workshop system tries to sort dates.
Some machines see 00 and decide it comes before 99. Others treat it as 1900. We need to show them what a real year looks like.
2What really happened
For decades, many computer systems saved years with just two digits: 98, 99, 00. Storage was expensive, and nobody expected the programs to still be running at the turn of the millennium.
As 1 January 2000 approached, people realised that a program could read 00 as 1900, or sort it before 99. That could make ages, bills, bookings and safety checks behave strangely.
Governments and companies spent years finding and fixing the risky systems. Midnight arrived with far fewer serious failures than feared—not because the problem was imaginary, but because an enormous prevention effort worked.

3The lesson
Make important data unambiguous—and test the boundary before it arrives.
A short-cut that is safe today can become a bug later. Store a full four-digit year, and test the moments where a value rolls over: a new year, a counter limit, or an empty-to-full queue.
4The challenge
You can read everything, but you'll need to join the Elf Response Team (or log in) to submit answers and earn stars.
Fix it: put the years in order
An old workshop program stores only the last two digits of a year. It sorts the numbers from smallest to largest.
It receives these shipment years: 98, 99, 00, 01.
Which two-digit year does the old program put first—even though it should be the newest shipment?
SHIPMENT YEAR 98 99 00 01
Prevent it: choose the safe format
🔒 Earn Star 1 to unlock this one.
TREE DECORATION
Millennium Bauble
Earn Star 1 to unlock it for your tree.
0 elves earned Star 1 so far. 3 more to restore uptime.
Spoiler thread
Opens in …, so latecomers don't get spoiled.
How was this drill?
We're testing the format. Be honest.
Join to leave feedback.