You didn’t set the timezone of the output date, so it’s defaulting to your systems’ timezone rather than UTC (which is what you were expecting).
solved Parse ISO8601 in swift
You didn’t set the timezone of the output date, so it’s defaulting to your systems’ timezone rather than UTC (which is what you were expecting).
solved Parse ISO8601 in swift