#1217 - Documenting why [NSTimeZone resetSystemTimeZone] is called

This commit is contained in:
Brad Leege
2015-04-06 17:51:24 -05:00
parent 67ce07cada
commit efdcdfb70d

View File

@@ -165,6 +165,7 @@ NSString *const MGLEventGestureRotateStart = @"Rotation";
[_rfc3339DateFormatter setLocale:enUSPOSIXLocale];
[_rfc3339DateFormatter setDateFormat:@"yyyy'-'MM'-'dd'T'HH':'mm':'ss z Z"];
// Clear Any System TimeZone Cache
[NSTimeZone resetSystemTimeZone];
[_rfc3339DateFormatter setTimeZone:[NSTimeZone systemTimeZone]];
}