- Add support for parsing date ISO8601

This commit is contained in:
giuseppenuc committed 2017-01-04 13:14:06 +01:00
1 parent 13801d0aa3
commit 3bac17f9df
6 files changed
+459 -439

No files matched your search

+4
View File
@@ -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];
}