add fallback for cal_days_in_month. Closes #1601