Fix broken XML mapping in RKTwitter example. fixes #400

This commit is contained in:
Blake Watters
2012-02-25 14:16:09 -05:00
parent 99a108096f
commit 6db4a0a170
3 changed files with 16 additions and 11 deletions

View File

@@ -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];
}