mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-27 00:08:52 +08:00
Fix broken XML mapping in RKTwitter example. fixes #400
This commit is contained in:
@@ -130,7 +130,6 @@ BOOL RKObjectIsValueEqualToValue(id sourceValue, id destinationValue) {
|
||||
if ([dateFormatter isKindOfClass:[NSDateFormatter class]]) {
|
||||
RKLogTrace(@"Attempting to parse string '%@' with format string '%@' and time zone '%@'", string, [(NSDateFormatter *)dateFormatter dateFormat], [(NSDateFormatter *)dateFormatter timeZone]);
|
||||
}
|
||||
// date = [dateFormatter dateFromString:string];
|
||||
NSString *errorDescription = nil;
|
||||
success = [dateFormatter getObjectValue:&date forString:string errorDescription:&errorDescription];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user