Fix time format to iso8601