Fix for off-by-1 errors in weekday, month and season calculation.