parse_iso_timestamp: handle Z properly