If I'm looking at a date from an actual iOS App Store receipt (in local verify), the date looks like
which can be parsed by
but the same date returned by StoreKitTest configuration would be:
which requires a different format parser
I'd expect to not need to change this part of the parser, right? Or are both formats legitimate RFC 3339 date strings?
Code Block "2020-09-10T20:48:26Z"
which can be parsed by
Code Block dateFormatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'"
but the same date returned by StoreKitTest configuration would be:
Code Block "2020-09-10T13:48:26-0700"
which requires a different format parser
Code Block dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ssZZZZZ"
I'd expect to not need to change this part of the parser, right? Or are both formats legitimate RFC 3339 date strings?