Dates with no year cause error on calendar page