• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Determining user's clock preference on iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Determining user's clock preference on iOS (From: Rick Mann <email@hidden>)
 >Re: Determining user's clock preference on iOS (From: Kyle Sluder <email@hidden>)
 >Re: Determining user's clock preference on iOS (From: Dave DeLong <email@hidden>)
 >Re: Determining user's clock preference on iOS (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Dumb question about radio buttons
  • Next by Date: Re: NSView mouseDown truncated coordinates
  • Previous by thread: Re: Determining user's clock preference on iOS
  • Next by thread: Re: Determining user's clock preference on iOS
  • Index(es):
    • Date
    • Thread