Changes input date format to format in xml feeds