How to set Locale for NSDateFormatter? I\'ve tried the below code and its not working.
- (NSString *)localizedStringWithFormat:(NSString *)format { NSDa
in case someone will look for Swift 3 solution:
let dateFormatter = DateFormatter() let frLocale = Locale(identifier: "fr") dateFormatter.locale = frLocale