Ignore "day" string in date_format check