NSDateFormatter* formatter = [[NSDateFormatter alloc] init];
[formatter setDateFormat:@"dd-MM-YYYY HH:mm"];
[formatter setTimeZone:[NSTimeZone systemTimeZone]];
If i choose MM
i get the month in number: 09-05-2012 15:33
If i choose MMMM
i get the month in word: 09-May-2012 15:33
What i wanted, was the month in 3 letters abbreviation.
Eg: January
would be Jan
在本案中,5月份是正确的,因为只有3封信件。