small changes is date_parse_from_format compatibility function