Permalink
Browse files

Fix for #17

  • Loading branch information...
1 parent 7e3e44d commit 7568a6147a560f555991364b343adbf55f74ebb8 @stevestreza stevestreza committed May 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 MGTwitterXMLParser.m
View
@@ -113,7 +113,7 @@ - (void)parser:(NSXMLParser *)theParser didEndElement:(NSString *)elementName
// Change date-string into an NSDate.
NSLog(@"%@", [currentNode objectForKey:elementName]);
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
- dateFormatter.dateFormat = @"%a %b %d %H:%M:%S +%z %Y";
+ dateFormatter.dateFormat = @"EEE MMM dd HH:mm:ss +0000 yyyy";
NSDate *creationDate = [dateFormatter dateFromString:[currentNode objectForKey:elementName]];
[dateFormatter release];
if (creationDate) {

0 comments on commit 7568a61

Please sign in to comment.