Fix case where days in calendar does not appear when DateFormat was changed. Thanks to joseh-henrique for the report.