• 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: Ensuring UIDatePicker shows 24-hour clock?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ensuring UIDatePicker shows 24-hour clock?


  • Subject: Re: Ensuring UIDatePicker shows 24-hour clock?
  • From: Rick Mann <email@hidden>
  • Date: Wed, 22 Aug 2012 20:04:27 -0700

Done 12157152.

How many days before it comes back as "closed as duplicate?"

--
Rick

On Aug 22, 2012, at 20:01 , Dave DeLong <email@hidden> wrote:

> There is, unfortunately, no reliable way to do this.  What you could try doing is setting the locale of the UIDatePicker to something like en_GB, where the preferred time format is "HH:mm" and hope that the date picker recognizes this.  However, depending on which version of iOS your app is running on, it might not work.
>
> As always, please file an enhancement request.  I'd love to see something like this go in.  :)
>
> Cheers,
>
> Dave
>
> On Aug 22, 2012, at 7:29 PM, Rick Mann <email@hidden> wrote:
>
>> I'm using the date picker to allow the user to set a time. But in this particular case, I need to ensure the time is always displayed in 24-hour format, rather than AM/PM, even if the user's current locale is set to AM/PM. Is there a way to do that?
>>
>> Thanks!


--
Rick




_______________________________________________

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: 
 >Ensuring UIDatePicker shows 24-hour clock? (From: Rick Mann <email@hidden>)
 >Re: Ensuring UIDatePicker shows 24-hour clock? (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: Ensuring UIDatePicker shows 24-hour clock?
  • Next by Date: Source List type OutlineView and bindings.
  • Previous by thread: Re: Ensuring UIDatePicker shows 24-hour clock?
  • Next by thread: Source List type OutlineView and bindings.
  • Index(es):
    • Date
    • Thread