public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/24682] New: zh_CN first weekday should be Monday per GB/T 7408-2005
@ 2019-06-14 17:07 alick9188 at gmail dot com
  2019-06-14 17:13 ` [Bug localedata/24682] " alick9188 at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: alick9188 at gmail dot com @ 2019-06-14 17:07 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24682

            Bug ID: 24682
           Summary: zh_CN first weekday should be Monday per GB/T
                    7408-2005
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: alick9188 at gmail dot com
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

Created attachment 11838
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11838&action=edit
GB/T 7408-2005 Section 3.28

The first day of the week in China (Mainland) should be Monday according to the
national standard GB/T 7408-2005 [1]. It is also true in terms of common
perception, speaking as someone who was born there and has lived there 20+
years.

I think we need something like "first_weekday 2" to
https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/locales/zh_CN;h=62a46415c1567ed38d58140312cef11eed46092c;hb=HEAD

The issue was found in glibc 2.28 on Fedora 29 affecting the display of "GNOME
Calendar" [2] and is also present at git master HEAD. I believe it is better
for this to be fixed upstream.

[1] https://www.doc88.com/p-1166696540287.html p.7 Section 3.28 (In Chinese,
saying "A calendar week starts with Monday".)
[2]
https://lists.fedoraproject.org/archives/list/chinese@lists.fedoraproject.org/thread/2HPTSSSFYWXDO75HOS2OTCYKNYA4DX2O/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug localedata/24682] zh_CN first weekday should be Monday per GB/T 7408-2005
  2019-06-14 17:07 [Bug localedata/24682] New: zh_CN first weekday should be Monday per GB/T 7408-2005 alick9188 at gmail dot com
@ 2019-06-14 17:13 ` alick9188 at gmail dot com
  2019-06-17 23:56 ` digitalfreak at lingonborough dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: alick9188 at gmail dot com @ 2019-06-14 17:13 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24682

Alick Zhao <alick9188 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alick9188 at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug localedata/24682] zh_CN first weekday should be Monday per GB/T 7408-2005
  2019-06-14 17:07 [Bug localedata/24682] New: zh_CN first weekday should be Monday per GB/T 7408-2005 alick9188 at gmail dot com
  2019-06-14 17:13 ` [Bug localedata/24682] " alick9188 at gmail dot com
@ 2019-06-17 23:56 ` digitalfreak at lingonborough dot com
  2019-06-18  5:18 ` alick9188 at gmail dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: digitalfreak at lingonborough dot com @ 2019-06-17 23:56 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24682

Rafal Luzynski <digitalfreak at lingonborough dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |digitalfreak@lingonborough.
                   |                            |com

--- Comment #1 from Rafal Luzynski <digitalfreak at lingonborough dot com> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug localedata/24682] zh_CN first weekday should be Monday per GB/T 7408-2005
  2019-06-14 17:07 [Bug localedata/24682] New: zh_CN first weekday should be Monday per GB/T 7408-2005 alick9188 at gmail dot com
  2019-06-14 17:13 ` [Bug localedata/24682] " alick9188 at gmail dot com
  2019-06-17 23:56 ` digitalfreak at lingonborough dot com
@ 2019-06-18  5:18 ` alick9188 at gmail dot com
  2019-06-21 21:55 ` digitalfreak at lingonborough dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: alick9188 at gmail dot com @ 2019-06-18  5:18 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24682

--- Comment #2 from Alick Zhao <alick9188 at gmail dot com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug localedata/24682] zh_CN first weekday should be Monday per GB/T 7408-2005
  2019-06-14 17:07 [Bug localedata/24682] New: zh_CN first weekday should be Monday per GB/T 7408-2005 alick9188 at gmail dot com
                   ` (2 preceding siblings ...)
  2019-06-18  5:18 ` alick9188 at gmail dot com
@ 2019-06-21 21:55 ` digitalfreak at lingonborough dot com
  2019-08-22 22:09 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: digitalfreak at lingonborough dot com @ 2019-06-21 21:55 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24682

--- Comment #3 from Rafal Luzynski <digitalfreak at lingonborough dot com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug localedata/24682] zh_CN first weekday should be Monday per GB/T 7408-2005
  2019-06-14 17:07 [Bug localedata/24682] New: zh_CN first weekday should be Monday per GB/T 7408-2005 alick9188 at gmail dot com
                   ` (3 preceding siblings ...)
  2019-06-21 21:55 ` digitalfreak at lingonborough dot com
@ 2019-08-22 22:09 ` cvs-commit at gcc dot gnu.org
  2019-08-22 22:16 ` digitalfreak at lingonborough dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2019-08-22 22:09 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24682

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug localedata/24682] zh_CN first weekday should be Monday per GB/T 7408-2005
  2019-06-14 17:07 [Bug localedata/24682] New: zh_CN first weekday should be Monday per GB/T 7408-2005 alick9188 at gmail dot com
                   ` (4 preceding siblings ...)
  2019-08-22 22:09 ` cvs-commit at gcc dot gnu.org
@ 2019-08-22 22:16 ` digitalfreak at lingonborough dot com
  2019-08-28 20:45 ` cvs-commit at gcc dot gnu.org
  2019-08-29  2:25 ` bluebat at member dot fsf.org
  7 siblings, 0 replies; 9+ messages in thread
From: digitalfreak at lingonborough dot com @ 2019-08-22 22:16 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24682

Rafal Luzynski <digitalfreak at lingonborough dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.31

--- Comment #5 from Rafal Luzynski <digitalfreak at lingonborough dot com> ---
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).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug localedata/24682] zh_CN first weekday should be Monday per GB/T 7408-2005
  2019-06-14 17:07 [Bug localedata/24682] New: zh_CN first weekday should be Monday per GB/T 7408-2005 alick9188 at gmail dot com
                   ` (5 preceding siblings ...)
  2019-08-22 22:16 ` digitalfreak at lingonborough dot com
@ 2019-08-28 20:45 ` cvs-commit at gcc dot gnu.org
  2019-08-29  2:25 ` bluebat at member dot fsf.org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2019-08-28 20:45 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24682

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug localedata/24682] zh_CN first weekday should be Monday per GB/T 7408-2005
  2019-06-14 17:07 [Bug localedata/24682] New: zh_CN first weekday should be Monday per GB/T 7408-2005 alick9188 at gmail dot com
                   ` (6 preceding siblings ...)
  2019-08-28 20:45 ` cvs-commit at gcc dot gnu.org
@ 2019-08-29  2:25 ` bluebat at member dot fsf.org
  7 siblings, 0 replies; 9+ messages in thread
From: bluebat at member dot fsf.org @ 2019-08-29  2:25 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=24682

Wei-Lun Chao <bluebat at member dot fsf.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bluebat at member dot fsf.org

--- Comment #7 from Wei-Lun Chao <bluebat at member dot fsf.org> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-08-29  2:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14 17:07 [Bug localedata/24682] New: zh_CN first weekday should be Monday per GB/T 7408-2005 alick9188 at gmail dot com
2019-06-14 17:13 ` [Bug localedata/24682] " alick9188 at gmail dot com
2019-06-17 23:56 ` digitalfreak at lingonborough dot com
2019-06-18  5:18 ` alick9188 at gmail dot com
2019-06-21 21:55 ` digitalfreak at lingonborough dot com
2019-08-22 22:09 ` cvs-commit at gcc dot gnu.org
2019-08-22 22:16 ` digitalfreak at lingonborough dot com
2019-08-28 20:45 ` cvs-commit at gcc dot gnu.org
2019-08-29  2:25 ` bluebat at member dot fsf.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).