像 MMMM d, yyyy 这样的日期格式需要设定相应的 locale 才可以被正确识别。 例
xxxx = June 3, 2012
[dateFormatter setLocale:[[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"] autorelease]];
[dateFormatter setDateFormat:@"MMMM d, yyyy"];
NSDate *xxx = [dateFormatter dateFromString:xxxx];