diff --git a/Classes/NSDateFormatter+JSONAPIDateFormatter.m b/Classes/NSDateFormatter+JSONAPIDateFormatter.m index 1e8ad76..561a706 100644 --- a/Classes/NSDateFormatter+JSONAPIDateFormatter.m +++ b/Classes/NSDateFormatter+JSONAPIDateFormatter.m @@ -16,7 +16,7 @@ + (instancetype)RFC3339DateFormatter NSLocale *enUSPOSIXLocale = [[NSLocale alloc] initWithLocaleIdentifier: @"en_US_POSIX"]; [dateFormatter setLocale: enUSPOSIXLocale]; - [dateFormatter setDateFormat: @"yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'SSS'Z'"]; + [dateFormatter setDateFormat: @"yyyy-MM-dd'T'HH:mm:ssZZZZZ"]; [dateFormatter setTimeZone: [NSTimeZone timeZoneForSecondsFromGMT: 0]]; });