[COMMITTED] Chinese locales: Set first_weekday to 2 (bug 24682).

Message ID 614858114.810584.1566511868305@poczta.nazwa.pl
State Committed
Headers

Commit Message

Rafal Luzynski Aug. 22, 2019, 10:11 p.m. UTC
  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.
---
 ChangeLog                | 7 +++++++
 localedata/locales/bo_CN | 1 +
 localedata/locales/ug_CN | 1 +
 localedata/locales/zh_CN | 1 +
 4 files changed, 10 insertions(+)
  

Comments

Rafal Luzynski Aug. 22, 2019, 10:19 p.m. UTC | #1
I was going to push this patch just before 2.30 release but I forgot.
OK to backport to 2.30 branch?  Carlos, anybody?

What about older branches?  The original bug report mentions 2.28.

Regards,

Rafal
  
Florian Weimer Aug. 24, 2019, 5:59 a.m. UTC | #2
* Rafal Luzynski:

> I was going to push this patch just before 2.30 release but I forgot.
> OK to backport to 2.30 branch?  Carlos, anybody?

I think we rarely backport such changes, but it's still early in the
2.30 cycle, so it's probably okay.
  
Rafal Luzynski Aug. 28, 2019, 4:53 p.m. UTC | #3
24.08.2019 07:59 Florian Weimer <fw@deneb.enyo.de> wrote:
> 
> * Rafal Luzynski:
> 
> > I was going to push this patch just before 2.30 release but I forgot.
> > OK to backport to 2.30 branch?  Carlos, anybody?
> 
> I think we rarely backport such changes, but it's still early in the
> 2.30 cycle, so it's probably okay.

I read this as "OK" to backport to 2.30 and indeed, my point was that
we are early in the 2.30 cycle.  I will backport soon, today or tomorrow.
I don't insist on the backport to earlier versions and I will not do it,
distributions are free to prepare their own patched version.

Regards,

Rafal
  

Patch

diff --git a/ChangeLog b/ChangeLog
index 2ba78ff013..956ececa14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@ 
+2019-08-23  Rafal Luzynski  <digitalfreak@lingonborough.com>
+
+	[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.
+
 2019-08-22  Gustavo Romero  <gromero@linux.vnet.ibm.com>
 
 	* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
diff --git a/localedata/locales/bo_CN b/localedata/locales/bo_CN
index 90cbc7807b..9df91a1721 100644
--- a/localedata/locales/bo_CN
+++ b/localedata/locales/bo_CN
@@ -128,6 +128,7 @@  t_fmt_ampm
       "<U0F46><U0F74><U0F0B><U0F5A><U0F7C><U0F51>/
 <U0025><U0070>"
 
 week 7;19971130;1
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
diff --git a/localedata/locales/ug_CN b/localedata/locales/ug_CN
index 1ba583c588..83d15c90e4 100644
--- a/localedata/locales/ug_CN
+++ b/localedata/locales/ug_CN
@@ -165,6 +165,7 @@  am_pm    "";""
 date_fmt "%a<U060C> %d-%m-%Y<U060C> %T"
 
 week 7;19971130;1
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
diff --git a/localedata/locales/zh_CN b/localedata/locales/zh_CN
index 62a46415c1..cd4b33602a 100644
--- a/localedata/locales/zh_CN
+++ b/localedata/locales/zh_CN
@@ -139,6 +139,7 @@  t_fmt_ampm "%p %I<U65F6>%M<U5206>%S<U79D2>"
 
 date_fmt       "%Y<U5E74> %m<U6708> %d<U65E5> %A %H:%M:%S %Z"
 week 7;19971130;1
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES