Day of the week is incorrectly calculated starting in January 2012. (e.g. SUN for Jan 2nd)
Reviewed algorithm from http://web.archive.org/web/20090309071604/http://klausler.com/new-dayofweek.html
Changed BASE_YEAR in logic\date.c:
< #define BASE_YEAR 2001 // not a leap year, so no need to add 1
And it appears to correctly calculate the Dotw now.
Day of the week is incorrectly calculated starting in January 2012. (e.g. SUN for Jan 2nd)
Reviewed algorithm from http://web.archive.org/web/20090309071604/http://klausler.com/new-dayofweek.html
Changed BASE_YEAR in logic\date.c:
< #define BASE_YEAR 2001 // not a leap year, so no need to add 1
And it appears to correctly calculate the Dotw now.