File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Source/ObjectiveDropboxOfficial/PlatformNeutral Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "ObjectiveDropboxOfficial"
3- s . version = "1.0.5 "
3+ s . version = "1.0.6 "
44 s . summary = "Dropbox Objective C SDK for APIv2"
55 s . homepage = "https://dropbox.com/developers/"
66 s . license = "MIT"
Original file line number Diff line number Diff line change 1010#import " DBTasks.h"
1111#import " DBTransportClient.h"
1212
13- static NSString const *const kVersion = @" 1.0.5 " ;
13+ static NSString const *const kVersion = @" 1.0.6 " ;
1414static NSString const *const kDefaultUserAgentPrefix = @" OfficialDropboxObjCSDKv2" ;
1515static NSString const *const kBackgroundSessionId = @" com.dropbox.dropbox_sdk_obj_c_background" ;
1616
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ @implementation DBNSDateSerializer
99+ (NSString *)serialize : (NSDate *)value dateFormat : (NSString *)dateFormat {
1010 NSDateFormatter *formatter = [[NSDateFormatter alloc ] init ];
1111 [formatter setTimeZone: [NSTimeZone timeZoneWithName: @" UTC" ]];
12+ [formatter setLocale: [NSLocale localeWithLocaleIdentifier: @" en_US_POSIX" ]];
1213 [formatter setDateFormat: [self convertFormat: dateFormat]];
1314
1415 return [formatter stringFromDate: value];
@@ -17,6 +18,7 @@ + (NSString *)serialize:(NSDate *)value dateFormat:(NSString *)dateFormat {
1718+ (NSDate *)deserialize : (NSString *)value dateFormat : (NSString *)dateFormat {
1819 NSDateFormatter *formatter = [[NSDateFormatter alloc ] init ];
1920 [formatter setTimeZone: [NSTimeZone timeZoneWithName: @" UTC" ]];
21+ [formatter setLocale: [NSLocale localeWithLocaleIdentifier: @" en_US_POSIX" ]];
2022 [formatter setDateFormat: [self convertFormat: dateFormat]];
2123
2224 return [formatter dateFromString: value];
You can’t perform that action at this time.
0 commit comments