• 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: 12 hr vs 24 hr time display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 12 hr vs 24 hr time display


  • Subject: Re: 12 hr vs 24 hr time display
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 03 Jan 2017 11:46:14 -0800
  • Feedback-id: 167118m:167118agrif8a:167118sDBluJVIQ0:SMTPCORP

On Jan 3, 2017, at 05:00 , Sandor Szatmari <email@hidden> wrote:
>
> Are you suggesting case sensitivity is an issue here?  If so, I don't think so.  The template returned from this method uses 'a' as a place holder for AM/PM.  e.g. It might return the string 'h a' as it does by default for the English/US locale on my system, and a is always lower case.  This is described here http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns <http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns> See the 'period' field in the Date Field Symbol Table and section 8.2 for my justification.

I was, but (sorry) that was because I didn’t read your code carefully enough.

> Yea, I was considering just making it an app local preference but that strikes me as crude.  Ideally speaking, at best an appropriate preference for my app could be 'Override System 24 hr time preference' or something akin.

Why can’t be the app preference simply be “Show 24 hr time” and default to the locale setting? Which is to say, the same thing you said but without the semi-pejorative description.

TBH, I think the menu bar clock has an overriding setting only for historical reasons. However, it doesn’t seem completely unlikely that a user might want the always-visible clock to be different from formatted times. It may be that the locale (or bureaucratic policy) might mandate that one format is used for dates/times generally, but a specific user might be more comfortable telling *time of day* using the opposite convention.

Similarly and analogously, a user might have reasons for setting the Mac to GMT generally, but still want to display local time in the menu bar.


_______________________________________________

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


  • Follow-Ups:
    • Re: 12 hr vs 24 hr time display
      • From: Sandor Szatmari <email@hidden>
References: 
 >12 hr vs 24 hr time display (From: Sandor Szatmari <email@hidden>)
 >Re: 12 hr vs 24 hr time display (From: Quincey Morris <email@hidden>)
 >Re: 12 hr vs 24 hr time display (From: Sandor Szatmari <email@hidden>)

  • Prev by Date: Re: 12 hr vs 24 hr time display
  • Next by Date: Re: 12 hr vs 24 hr time display
  • Previous by thread: Re: 12 hr vs 24 hr time display
  • Next by thread: Re: 12 hr vs 24 hr time display
  • Index(es):
    • Date
    • Thread