我正在分析这个
2017-01-23T10:12:31.484Z
使用iOS 10
提供的原生ISO8601DateFormatter
类,但总是失败.
我try 过这个和许多options
个组合,但总是失败...
let formatter = ISO8601DateFormatter()
formatter.timeZone = TimeZone(secondsFromGMT: 0)
formatter.formatOptions = [.withInternetDateTime, .withDashSeparatorInDate, .withColonSeparatorInTime, .withColonSeparatorInTimeZone, .withFullTime]
知道吗?