poelzi/OpenChronos — pull request #36 by madsen (2012-01-09 06:34:48+00:00)
Title: Fix day-of-week calculation for 2012

This changes BASE_YEAR to 1984 as described in issue #35, fixing the 2012 calculation.

I also revised the implementation to use a lookup array instead of a switch. Along with a couple other minor changes, this saves 112 bytes.