NSDateFormatter para BST em vez de GMT + 1
Quero exibir a seguinte string no meu eixo do tempo:
"GMT / BST"
Aqui está o código:
NSDateFormatter *dateformatter=[[NSDateFormatter alloc] init];
[dateformatter setDateFormat:@"zzz"];
timeZoneString = [NSMutableString stringWithFormat:@"%@ / %@",[dateformatter stringFromDate:startDate],[dateformatter stringFromDate:endDate]];
Mas isso fornece "GMT / GMT + 01: 00"
Qual é o código NSDateFormatter para transformar "GMT + 01: 00" em "BST"? Não consigo os formatadores certos para fazer isso, depois de tentar z | zzz | Z | ZZZ | v | V ver ...http://waracle.net/iphone-nsdateformatter-date-formatting-table/