Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mattgemmell/MGTwitterEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
stevestreza committed May 4, 2010
2 parents 12afbd3 + 2f51020 commit 742ab9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MGTwitterXMLParser.m
Expand Up @@ -110,8 +110,8 @@ - (void)parser:(NSXMLParser *)theParser didEndElement:(NSString *)elementName
NSNumber *boolNumber = [NSNumber numberWithBool:[[currentNode objectForKey:elementName] isEqualToString:@"true"]];
[currentNode setObject:boolNumber forKey:elementName];
} else if ([elementName isEqualToString:@"created_at"]) {
// Change date-string into an NSDate.
NSLog(@"%@", [currentNode objectForKey:elementName]);
// Change date-string into an NSDate.
// NSLog(@"%@", [currentNode objectForKey:elementName]);
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]];
dateFormatter.dateFormat = @"EEE MMM dd HH:mm:ss +0000 yyyy";
Expand Down

0 comments on commit 742ab9c

Please sign in to comment.