NSDateFormatter - set device language as locale?

Posted by Emil on Stack Overflow See other posts from Stack Overflow or by Emil
Published on 2010-06-03T20:31:34Z Indexed on 2010/06/03 20:34 UTC
Read the original article Hit count: 270

Hey.

I'm trying to get the iPhone to display dates formatted by an NSDateFormatter in the current device language.

I have tried setLocale:[NSLocale currentLocale], but that only returns 5 instead of May (or Mai, as I want it to be).

Any help is appreciated. Thanks! :)

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c