problem z formatowaniem daty za pomocą NSDateFormatter

Mam ciąg daty, który chcę przekonwertować na inny format.

Pierwotnym przykładem łańcucha daty jest:„2013-06-04 02:19:21 +0000”

Chcę to przekonwertować na„Środa, 4 czerwca”

NSString * date_string = @"2013-06-04 02:19:21 +0000";

NSDateFormatter *complexdateFormater = [[NSDateFormatter alloc] init];
[complexdateFormater setDateFormat:@"yyyy-M-DD HH:mm:ss Z"];
 NSDate* complexdate = [complexdateFormater dateFromString:date_string];
NSString *formatString = [NSDateFormatter dateFormatFromTemplate:@"EE, MMM d" options:0
                                                          locale:[NSLocale    currentLocale]];
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:formatString];
NSString *todayString = [dateFormatter stringFromDate:complexdate];

ale dzisiejszy ciąg dla powyższego przypadku wypisuje: miesiąc jako Jan niezależnie od wartości miesiąca w oryginalnym łańcuchu.

gdzie się mylę?

questionAnswers(3)

yourAnswerToTheQuestion