3 ms·
Speculation: the calendar in the clock app is week oriented. It would make sense to store one-time events as (day of week, week number, year). January 1 and 2
by tzs 16y ago
Speculation: the calendar in the clock app is week oriented. It would make sense to store one-time events as (day of week, week number, year).
January 1 and 2 of 2011 are actually part of week 52 of 2010. So, an event for January 2 2011 would be stored as (7, 52, 2010).
Now all it takes is somewhere else for someone to accidentally use the year of the current date instead of the year of the current week when checking to see if an event is due.
On January 3, which is the first day of the first week of 2011, the year of the date and the year of the week again match, so all us well until January 1 2012. In 2012, the bug will only last for 1 day, as week 1 of 2012 starts on Monday the 2nd.