| Summary: | zh_CN first weekday should be Monday per GB/T 7408-2005 | ||
|---|---|---|---|
| Product: | glibc | Reporter: | Alick Zhao <alick9188> |
| Component: | localedata | Assignee: | Not yet assigned to anyone <unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alick9188, bluebat, digitalfreak, libc-locales |
| Priority: | P2 | Flags: | fweimer:
security-
|
| Version: | unspecified | ||
| Target Milestone: | 2.31 | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
| Attachments: | GB/T 7408-2005 Section 3.28 | ||
|
Description
Alick Zhao
2019-06-14 17:07:32 UTC
Thank you for the report. Unfortunately, I can't read Chinese. Also unfortunately CLDR which is our most authoritative source still says it should be Sunday. [1] Can you please file a new ticket in CLDR so we get some feedback from them? [2] [3] [1] https://github.com/unicode-org/cldr/blob/master/common/supplemental/supplementalData.xml#L4703 [2] http://unicode.org/cldr/trac/newticket [3] http://cldr.unicode.org/index/bug-reports Thanks for the pointers. I found the same issue was raised there at CLDR: https://unicode-org.atlassian.net/browse/CLDR-11510 . I've mentioned the information I have there just now. Good, let's see what's their feedback. If they don't answer anything by the end of this development cycle then I think I will accept your proposed changes but for now let's give them some time. The master branch has been updated by Rafal Luzynski <rl@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c0fd3244e71db39cef1e2d1d8ba12bb8b7375ce4 commit c0fd3244e71db39cef1e2d1d8ba12bb8b7375ce4 Author: Rafal Luzynski <digitalfreak@lingonborough.com> Date: Thu Aug 22 23:50:04 2019 +0200 Chinese locales: Set first_weekday to 2 (bug 24682). The first day of the week in China (Mainland) should be Monday according to the national standard GB/T 7408-2005. References: * https://www.doc88.com/p-1166696540287.html * https://unicode-org.atlassian.net/browse/CLDR-11510 [BZ #24682] * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday). * localedata/locales/ug_CN (first_weekday): Likewise. * localedata/locales/zh_CN (first_weekday): Likewise. I am sorry, I was going to fix this just before the 2.30 release but I forgot. It is fixed now in master for the future 2.31 release. I will try to backport, though. The same as in bug 24200 comment 2 I decided to introduce the same change to all *_CN locales because CLDR assigns the first weekday to whole territory (all languages if there are multiple). The release/2.30/master branch has been updated by Rafal Luzynski <rl@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d74461fa348de4176894f98672cb9ce721e26676 commit d74461fa348de4176894f98672cb9ce721e26676 Author: Rafal Luzynski <digitalfreak@lingonborough.com> Date: Thu Aug 22 23:50:04 2019 +0200 Chinese locales: Set first_weekday to 2 (bug 24682). The first day of the week in China (Mainland) should be Monday according to the national standard GB/T 7408-2005. References: * https://www.doc88.com/p-1166696540287.html * https://unicode-org.atlassian.net/browse/CLDR-11510 [BZ #24682] * NEWS: Mention this bug fixed. * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday). * localedata/locales/ug_CN (first_weekday): Likewise. * localedata/locales/zh_CN (first_weekday): Likewise. (cherry picked from commit c0fd3244e71db39cef1e2d1d8ba12bb8b7375ce4) The first day of the week in Taiwan should be also Monday according to the national standard CNS 7648 [1]. Some patches have been merged into bug 24409 [1] https://www.cnsonline.com.tw/?node=result&generalno=7648 p.10 Section 3.2.2 |