changes date formats to ISO 8601