diff options
author | Brad Leege <bleege@gmail.com> | 2015-04-06 17:51:24 -0500 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2015-04-06 17:51:24 -0500 |
commit | efdcdfb70d3c1988a48ace30ce8c12e5c1c5e62f (patch) | |
tree | 62a458187494e4124b013614d2a91cc62304b9f0 /platform/ios | |
parent | 67ce07cadaecfc47cb766abcf7eb858950d91d12 (diff) | |
download | qtlocation-mapboxgl-efdcdfb70d3c1988a48ace30ce8c12e5c1c5e62f.tar.gz |
#1217 - Documenting why [NSTimeZone resetSystemTimeZone] is called
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/MGLMapboxEvents.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/MGLMapboxEvents.m b/platform/ios/MGLMapboxEvents.m index bd9fc9165b..63ec786d48 100644 --- a/platform/ios/MGLMapboxEvents.m +++ b/platform/ios/MGLMapboxEvents.m @@ -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]]; } |