remove two stupid date_format regexes