How to set Locale for NSDateFormatter? I\'ve tried the below code and its not working.
- (NSString *)localizedStringWithFormat:(NSString *)format { NSDa
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"he"]; [dateFormatter setLocale:locale];