Post

Replies

Boosts

Views

Activity

Reply to NSCalendar firstWeekday returns wrong based on NSLocale region
Thanks for all information, really clarifying. However, having a look at the CLDR repo I was able to find the firstDay element definition here: https://github.com/unicode-org/cldr/blob/83821f2dbd9a9311b9b325e9452ebae396676bc0/common/supplemental/supplementalData.xml And it seems that in CLDR repository, the firstDay for BR is declared correct, and is in the same group definition of US: <firstDay day="sun" territories="AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PT PY SA SG SV TH TT TW UM US VE VI WS YE ZA ZW" /> Does that mean it's an Apple bug? Cheers!
Aug ’22
Reply to NSCalendar firstWeekday returns wrong based on NSLocale region
Hi Quinn, Thanks for your response and your time testing this problem. I'm Brazilian and I'm used to Sunday being the first day of the week there, and even this link here is very accurate with the first day of the week in the world: http://chartsbin.com/view/41671 As you said could be that's not official, so my main question here would be, from where the official firstWeekday comes from? I mean, does it follows any ISO standard? If not, do you know where can I find the official documentation that defines the first day of week for each country? Thanks!
Aug ’22