Re: Determining user's clock preference on iOS
Re: Determining user's clock preference on iOS
- Subject: Re: Determining user's clock preference on iOS
- From: Kyle Sluder <email@hidden>
- Date: Thu, 23 Feb 2012 14:14:12 -0800
On Thu, Feb 23, 2012 at 2:01 PM, Rick Mann <email@hidden> wrote:
> A little more info. @"j:m" gets written to "h:mm a", which is unfortunate. It always adds the "a".
Hmm, the documentation seems to imply that iOS might do the "right
thing" here, and choose the final output format based on the user's
preference: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/DataFormatting/Articles/dfDateFormatting10_4.html
Which is terrible, of course. If the programmer specifies they want a
12-hour + am/pm format, they should get it. There is already an API to
transform that into a localized variant.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden