Link: When YYYY is not yyyy ☍

Shared on January 3, 2013

Jacqui Cheng of Ars Technica explains the mystery Do Not Disturb will fix itself on Monday, January 7 and how the issue has to do with date formatting:

Here’s how it works and why it’s throwing DND for a loop. The ISO week numbering system uses the YYYY format for the year instead of the Gregorian calendar’s yyyy. It then looks at which week of the year it is, and then uses a date digit with 1 starting on Monday. So, for example, Tuesday of the 50th week of 2012 would have been 2012-W50-2 in ISO week format.

I do agree with Patrick McCarron, a senior iOS developer at StandAlone Apps:

McCarron said he thinks Apple should only be looking at the time to turn DND on or off without even taking dates into account at all. But if there’s an upside to this bug being widely covered now, it could be public awareness. “I’m glad this YYYY versus yyyy issue is getting attention,” McCarron said. “It bit me years ago on an app and I’ve seen a few other developers who have noticed the issue as well in their code yesterday.”

Snippets are special posts that share a linked item with a bit of commentary.