[COMMITTED] Change for locale fr_CH and it_CH for monday as fisrt day of the week

Message ID 569D91CA.6050809@gmail.com
State Superseded
Delegated to: Mike Frysinger
Headers

Commit Message

Arnaud Jan. 19, 2016, 1:30 a.m. UTC
  Hello,

Would it be possible to change the locale fr_CH and it_CH to have monday as the first day of the week ?
It has already been accepted for the locale de_CH, that is in the same country (Switzerland).

I have sent a patch with the 2 files modifications (sha1: 0b1697b)
The patch is added in the email.

It would help a lot, as for each glibc update, we have to do these changes again.

Sorry if it was not done correctly, it is the first time I do this.

Thanks
  

Comments

Mike Frysinger Jan. 19, 2016, 1:41 a.m. UTC | #1
On 19 Jan 2016 02:30, Arnaud wrote:
> Hello,

why does the subject say "committed" ?  this hasn't been committed,
so using that tag makes no sense and is just confusing.

> Would it be possible to change the locale fr_CH and it_CH to have monday as the first day of the week ?

do you have links to standards to justify the change ?
we like to note this info for reference/historical tracking.

> From 0b1697b6d875d5de861e9f68ff8c0d2b82fd8544 Mon Sep 17 00:00:00 2001
> From: Arnaud <xxx@xxx.xxx>
> Date: Tue, 19 Jan 2016 01:39:54 +0100
> Subject: [PATCH] Locale fr_CH and it_CH: change first day of the week
> 
> Signed-off-by: Arnaud <xxx@xxx.xxx>

we don't use signed-off-by here, but regardless of that, using "xxx" here
is both incorrect and pointless.  we already have your e-mail address and
contact info since you sent this e-mail to the list.
-mike
  
Arnaud Jan. 19, 2016, 1:49 a.m. UTC | #2
Le 19. 01. 16 02:41, Mike Frysinger a écrit :
> On 19 Jan 2016 02:30, Arnaud wrote:
>> Hello,
>
> why does the subject say "committed" ?  this hasn't been committed,
> so using that tag makes no sense and is just confusing.

I thought it did:
[master 0b1697b] Locale fr_CH and it_CH: change first day of the week
  2 files changed, 8 insertions(+)

It didn't ?

>> Would it be possible to change the locale fr_CH and it_CH to have monday as the first day of the week ?
>
> do you have links to standards to justify the change ?
> we like to note this info for reference/historical tracking.

As it was accepted already for de_CH, I thought it would be also for fr_CH and if_CH.
I asked a few people about a reference that monday was the first day of the week, but nobody can find it.

Monday as the first day of the week is normal for us since a very long time.

>>  From 0b1697b6d875d5de861e9f68ff8c0d2b82fd8544 Mon Sep 17 00:00:00 2001
>> From: Arnaud <xxx@xxx.xxx>
>> Date: Tue, 19 Jan 2016 01:39:54 +0100
>> Subject: [PATCH] Locale fr_CH and it_CH: change first day of the week
>>
>> Signed-off-by: Arnaud <xxx@xxx.xxx>
>
> we don't use signed-off-by here, but regardless of that, using "xxx" here
> is both incorrect and pointless.  we already have your e-mail address and
> contact info since you sent this e-mail to the list.
> -mike

Yes just saw that, sorry.
I am used to mailing list hiding the email address for the people sending an email to it and just showing the username we chose when we subsrcribed to it.
  
Mike Frysinger Jan. 19, 2016, 1:55 a.m. UTC | #3
On 19 Jan 2016 02:49, Arnaud wrote:
> Le 19. 01. 16 02:41, Mike Frysinger a écrit :
> > On 19 Jan 2016 02:30, Arnaud wrote:
> >> Hello,
> >
> > why does the subject say "committed" ?  this hasn't been committed,
> > so using that tag makes no sense and is just confusing.
> 
> I thought it did:
> [master 0b1697b] Locale fr_CH and it_CH: change first day of the week
>   2 files changed, 8 insertions(+)
> 
> It didn't ?

i think git is confusing you ;).  "committed" in the e-mail subject means
it has been *pushed* to the common/public repo.  it does not refer to you
making a local commit to your personal fork.

> >>  From 0b1697b6d875d5de861e9f68ff8c0d2b82fd8544 Mon Sep 17 00:00:00 2001
> >> From: Arnaud <xxx@xxx.xxx>
> >> Date: Tue, 19 Jan 2016 01:39:54 +0100
> >> Subject: [PATCH] Locale fr_CH and it_CH: change first day of the week
> >>
> >> Signed-off-by: Arnaud <xxx@xxx.xxx>
> >
> > we don't use signed-off-by here, but regardless of that, using "xxx" here
> > is both incorrect and pointless.  we already have your e-mail address and
> > contact info since you sent this e-mail to the list.
> > -mike
> 
> Yes just saw that, sorry.
> I am used to mailing list hiding the email address for the people sending an email to it and just showing the username we chose when we subsrcribed to it.

that's generally not how open source works.  we work in the open and do
not hide ourselves.
-mike
  
Arnaud Jan. 19, 2016, 2:10 a.m. UTC | #4
Le 19. 01. 16 02:55, Mike Frysinger a écrit :
> On 19 Jan 2016 02:49, Arnaud wrote:
>> Le 19. 01. 16 02:41, Mike Frysinger a écrit :
>>> On 19 Jan 2016 02:30, Arnaud wrote:
>>>> Hello,
>>>
>>> why does the subject say "committed" ?  this hasn't been committed,
>>> so using that tag makes no sense and is just confusing.
>>
>> I thought it did:
>> [master 0b1697b] Locale fr_CH and it_CH: change first day of the week
>>    2 files changed, 8 insertions(+)
>>
>> It didn't ?
>
> i think git is confusing you ;).  "committed" in the e-mail subject means
> it has been *pushed* to the common/public repo.  it does not refer to you
> making a local commit to your personal fork.

Ah ok, I didn't understand it that way.
Followed the instructions here: https://sourceware.org/glibc/wiki/Contribution%20checklist,
and saw "For a patch that is already committed:", sorry (for me it was committed it but waiting for reject or approval).

Then, for a request with a patch, I should have used: [PATCH] ?

>>>>   From 0b1697b6d875d5de861e9f68ff8c0d2b82fd8544 Mon Sep 17 00:00:00 2001
>>>> From: Arnaud <xxx@xxx.xxx>
>>>> Date: Tue, 19 Jan 2016 01:39:54 +0100
>>>> Subject: [PATCH] Locale fr_CH and it_CH: change first day of the week
>>>>
>>>> Signed-off-by: Arnaud <xxx@xxx.xxx>
>>>
>>> we don't use signed-off-by here, but regardless of that, using "xxx" here
>>> is both incorrect and pointless.  we already have your e-mail address and
>>> contact info since you sent this e-mail to the list.
>>> -mike
>>
>> Yes just saw that, sorry.
>> I am used to mailing list hiding the email address for the people sending an email to it and just showing the username we chose when we subsrcribed to it.
>
> that's generally not how open source works.  we work in the open and do
> not hide ourselves.
> -mike
>

It was more for the archive list on internet and spam bots (even if the '.' and '@' are replaced), as I am not hidden for the people receiving this mailing list. I meant the mailing lists I use generally remove the email address when the email is archived online.
  
keld@keldix.com Jan. 19, 2016, 2:29 a.m. UTC | #5
On Mon, Jan 18, 2016 at 08:41:37PM -0500, Mike Frysinger wrote:
> On 19 Jan 2016 02:30, Arnaud wrote:
> > Hello,
> 
> why does the subject say "committed" ?  this hasn't been committed,
> so using that tag makes no sense and is just confusing.
> 
> > Would it be possible to change the locale fr_CH and it_CH to have monday as the first day of the week ?
> 
> do you have links to standards to justify the change ?
> we like to note this info for reference/historical tracking.

It is probably because ISO 8601 is a Swiss standard.
ISO 8601 says that Monday is the first day of the week.

best regards.
Keld
  
Arnaud Jan. 20, 2016, 8:08 p.m. UTC | #6
Le 19. 01. 16 03:29, keld@keldix.com a écrit :
> On Mon, Jan 18, 2016 at 08:41:37PM -0500, Mike Frysinger wrote:
>> On 19 Jan 2016 02:30, Arnaud wrote:
>>> Would it be possible to change the locale fr_CH and it_CH to have monday as the first day of the week ?
>>
>> do you have links to standards to justify the change ?
>> we like to note this info for reference/historical tracking.
>
> It is probably because ISO 8601 is a Swiss standard.
> ISO 8601 says that Monday is the first day of the week.

Is this reference enough to be accepted ?

I have read, in a few bugzilla asking to change this first day of the week (for others countries), that it was refused
because there wasn't an official document refering to the first day of the week in the country.

Why would there be a document like this when it has always been like this (as far as I have found)?
If there is one, it is probably not known by a lot of people, and really hard to find.

It was accepted for: de_CH, wae_CH (I don't even know what is Walser)

and for:
an_ES, ast_ES, bg_BG, br_FR, ca_ES, ce_RU, crh_UA, csb_PL, cv_RU, cy_GB, da_DK, de_AT, de_BE, de_DE, de_LU, el_GR, en_DK, en_GB, en_IE, es_CO, es_CR, et_EE, eu_ES, fi_FI, fr_BE, fr_FR, fr_LU, fy_NL, ga_IE, gl_ES, gv_GB, hsb_DE, ia_FR, it_IT, kw_GB, lb_LU, lij_IT, lt_LT, lv_LV, mhr_RU, mk_MK, mt_MT, nb_NO, nl_BE, nl_NL, nn_NO, oc_FR, os_RU, ro_RO, ru_RU, ru_UA, sl_SI, sr_ME, sr_RS, sr_RS@latin, sv_FI, sv_SE, sw_KE, tr_TR, uk_UA, wa_BE

PS: I have removed the [COMMITTED] in the subject, as it shouldn't be there.
  
Arnaud Jan. 26, 2016, 8:15 p.m. UTC | #7
Le 20. 01. 16 21:08, Arnaud a écrit :
> Le 19. 01. 16 03:29, keld@keldix.com a écrit :
>> On Mon, Jan 18, 2016 at 08:41:37PM -0500, Mike Frysinger wrote:
>>> On 19 Jan 2016 02:30, Arnaud wrote:
>>>> Would it be possible to change the locale fr_CH and it_CH to have monday as the first day of the week ?
>>>
>>> do you have links to standards to justify the change ?
>>> we like to note this info for reference/historical tracking.
>>
>> It is probably because ISO 8601 is a Swiss standard.
>> ISO 8601 says that Monday is the first day of the week.
>
> Is this reference enough to be accepted ?
>
> I have read, in a few bugzilla asking to change this first day of the week (for others countries), that it was refused
> because there wasn't an official document refering to the first day of the week in the country.
>
> Why would there be a document like this when it has always been like this (as far as I have found)?
> If there is one, it is probably not known by a lot of people, and really hard to find.
>
> It was accepted for: de_CH, wae_CH (I don't even know what is Walser)
>
> and for:
> an_ES, ast_ES, bg_BG, br_FR, ca_ES, ce_RU, crh_UA, csb_PL, cv_RU, cy_GB, da_DK, de_AT, de_BE, de_DE, de_LU, el_GR, en_DK, en_GB, en_IE, es_CO, es_CR, et_EE, eu_ES, fi_FI, fr_BE, fr_FR, fr_LU, fy_NL, ga_IE, gl_ES, gv_GB, hsb_DE, ia_FR, it_IT, kw_GB, lb_LU, lij_IT, lt_LT, lv_LV, mhr_RU, mk_MK, mt_MT, nb_NO, nl_BE, nl_NL, nn_NO, oc_FR, os_RU, ro_RO, ru_RU, ru_UA, sl_SI, sr_ME, sr_RS, sr_RS@latin, sv_FI, sv_SE, sw_KE, tr_TR, uk_UA, wa_BE
>
> PS: I have removed the [COMMITTED] in the subject, as it shouldn't be there.

Maybe these links ? They are in german/french/italian but not english, so I used google translate...

https://translate.google.com/translate?hl=fr&sl=fr&tl=en&u=https%3A%2F%2Fwww.ssrq-sds-fds.ch%2Fonline%2Foverview.html
"The standardized date after the YYYY-MM-DD scheme (ISO 8601) is located under "date", the original entrance to the edition under "date printed."

https://translate.google.com/translate?hl=de&sl=en&u=https://www.ssrq-sds-fds.ch/wiki/Datierungsrichtlinien
"Data is in accordance with ISO 8601 inwhen normalized (YYYY-MM-DD). After ISO 8601 and TEI is when using thewhen attribute always the Gregorian calendar meant."

https://en.wikipedia.org/wiki/ISO_8601
Switzerland 	SN ISO 8601:2005-08 (replaced SN-EN 28601:1994)
  
Mike Frysinger Feb. 19, 2016, 7:47 p.m. UTC | #8
thanks for the links.  i don't have an answer right $now for your
request, but it should be resolved before the next release.  i'm
doing a full audit of the week values across locales and will be
sure to double check/include your update.  hang tight!
-mike
  
Mike Frysinger April 16, 2016, 7:39 a.m. UTC | #9
i've rolled these changes up into:
  https://sourceware.org/ml/libc-alpha/2016-04/msg00419.html
-mike
  

Patch

From 0b1697b6d875d5de861e9f68ff8c0d2b82fd8544 Mon Sep 17 00:00:00 2001
From: Arnaud <xxx@xxx.xxx>
Date: Tue, 19 Jan 2016 01:39:54 +0100
Subject: [PATCH] Locale fr_CH and it_CH: change first day of the week

Signed-off-by: Arnaud <xxx@xxx.xxx>
---
 localedata/locales/fr_CH | 4 ++++
 localedata/locales/it_CH | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/localedata/locales/fr_CH b/localedata/locales/fr_CH
index fa9aca4..5ed55a0 100644
--- a/localedata/locales/fr_CH
+++ b/localedata/locales/fr_CH
@@ -104,6 +104,10 @@  t_fmt_ampm ""
 date_fmt       "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
 <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
 <U0025><U005A><U0020><U0025><U0059>"
+
+week    7;19971130;4
+first_weekday 2
+first_workday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/it_CH b/localedata/locales/it_CH
index 5f50d7e..3672180 100644
--- a/localedata/locales/it_CH
+++ b/localedata/locales/it_CH
@@ -99,6 +99,10 @@  t_fmt_ampm ""
 date_fmt       "<U0025><U0061><U0020><U0025><U0065><U0020><U0025>/
 <U0062><U0020><U0025><U0059><U002C><U0020><U0025><U0048><U002E>/
 <U0025><U004D><U002E><U0025><U0053><U002C><U0020><U0025><U005A>"
+
+week    7;19971130;4
+first_weekday 2
+first_workday 2
 END LC_TIME
 
 LC_PAPER
-- 
2.5.0