[dateFormatter setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]];
原因:为dateFormatter增加Locale就可以了。
[dateFormatter setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]];
原因:为dateFormatter增加Locale就可以了。
转载于:https://www.cnblogs.com/tishifu/archive/2011/07/27/2118694.html