• 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: Vertically Centered Colon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vertically Centered Colon


  • Subject: Re: Vertically Centered Colon
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Tue, 29 Nov 2016 16:42:58 +0700

> On 29 Nov 2016, at 00:40, Quincey Morris <email@hidden> wrote:
>
> On Nov 28, 2016, at 07:01 , Gerriet M. Denkmann <email@hidden> wrote:
>>
>> But in my case I have “21:37:44” where ““21:37” is bold and “:44” is thin.
>
>
> c.  Given that you work so much with non-Latin scripts, I find it surprising that you would make assumptions about how a time is represented. (Again, of course, you may have decided this is the correct approach for your scenario, but it strikes me as worth commenting on.)

I just checked all 739 locales available in iOS. The time format is pretty consistent:
“H.mm.ss"
"H:mm.ss”
“HH.mm.ss"
“H:mm:ss"
“HH:mm:ss” (more than 89% use this)

all should be displayed correctly.
Those locales which use ‘:’ will see a nice vertically centered colon, those with ‘.’ a non-centered FULL STOP.

Thanks to alerting me to this issue (my old code assumed two digit hours, which would not have worked in about 55 locales).

Kind regards,

Gerriet.


_______________________________________________

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: 
 >Vertically Centered Colon (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Vertically Centered Colon (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Vertically Centered Colon
  • Next by Date: Re: How to detect rotation in progress in viewDidLayoutSubview
  • Previous by thread: Re: Vertically Centered Colon
  • Next by thread: How to convert from decomposed to precomposed UTF-8 on iOS
  • Index(es):
    • Date
    • Thread