Fixes date formats to iso8601