- Add support for parsing date ISO8601
This commit is contained in:
1 parent
13801d0aa3
commit
3bac17f9df
6 files changed
+459
-439
No files matched your search
@@ -125,6 +125,10 @@
|
||||
}
|
||||
|
||||
NSDate *val = [[NSDate dateFromString:str withFormat:dateFormat] toLocalTime];
|
||||
|
||||
if (!val) {
|
||||
val = [NSDate dateFromISO8601String:str];
|
||||
}
|
||||
if (![self isObjNull:val]) {
|
||||
[self setValue:val forKey:propertyName];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user