Sourceware Bugzilla – Bug 14934
[patch] wrong first weekday chilean locale (es_CL)
Last modified: 2013-02-19 20:27:39 UTC
Created attachment 6775 [details]
update start week|work day to monday
The first week/work day in Chile is actually monday, not sunday. I found a "workaround" in arch linux forums, looking around similar issues it actually looks like it's the 'correct' solution, so I'm attaching a tiny patch. Hope it helps.
If there's anything else I can do, please tell me (:
Thanks for the patch. We would just like some configuration that the first day is indeed Monday. Could you please take a look at
and provide some reference for that fact?
I don't know where to find "official" information... the only "close" thing is this:
If you have any other idea on how I can confirm this please tell me.
Well, that web calendar shows Monday as the first day of week e.g. for USA as well, so it's not very convincing. :-)
Examples of references might be Chile-specific/local calendars (web-based or photos of classic wall calendars), some Chilean websites where all days of week are listed in order, etc.
(In reply to comment #3)
> Well, that web calendar shows Monday as the first day of week e.g. for USA as
> well, so it's not very convincing. :-)
> Examples of references might be Chile-specific/local calendars (web-based or
> photos of classic wall calendars), some Chilean websites where all days of week
> are listed in order, etc.
Does CLDR have any information for es_CL?
P.S. Petr, Thanks for looking at these! Poke me if you need help, and thanks for looking at BZ#10580 and BZ#14892. Making incremental progress is important :-)
Created attachment 6880 [details]
Nothing informative in CLDR es_CL.xml in reference to days
I've also found this bug.
I've looked around, and there doesn't seem to be any official decree or law concerning monday as the start of the week, but I've found that sunday is indeed regarded as an official holiday, as per laws 1990, that says:
> ART. 2.° El dia de descanso será el domingo, salvo convenio espreso en
> contrario; i en este caso, el dia de descanso podrá ser único para todos los
> individuos o turnado para no paralizar la marcha del trabajo.
(trans: Art. 2nd. The day for rest will be sunday, unless explicit agreement against it; and in this case, the day for rest might be the same for all individuals or in turns in order not to stop labour.
and law 2977,
> Artículo 1°. Desde la fecha de la presente lei, solo se considerarán como
> feriados los dias siguientes:
> 1° Los domingos de todo el año.
(trans. Art 1st: Since the date of the present law, only the following days will be regarded as holidays: 1st, sundays all year long.)
At  there is a list of all the laws and decrees concerning holidays in Chile.
Chilean Labor Code  agrees with what's been said above. See Book I, Chapter IV, Parragraph 4th, Arts. 35 and following:
> Art. 35: Los días domingo y aquellos que la ley declare festivos serán de
> descanso, salvo respecto de las actividades autorizadas por ley para trabajar
> en esos días.
(trans. Art 35: Sundays and those days declared as holidays by law will be days of rest, excepting activities authorized by law...)
Article 36 seems to me to imply that Monday can be regarded as the official start of the work week:
> El descanso y las obligaciones y prohibiciones establecidas al respecto en
> los dos artículos anteriores empezarán a más tardar a las 21 horas del día
> anterior al domingo o festivo y terminarán a las 6 horas del día siguiente de
> éstos, salvo las alteraciones horarias que se produzcan con motivo de la
> rotación en los turnos de trabajo.
(trans. Rest, obligations and prohibitions established concerning both articles above will begin at the latest at 21:00 the day before sunday or holiday, and will end at 06:00 the following day, excepting alterations caused by rotation in working shifts.) Since sunday is always an official holiday, and work always resumes the day following it (unless agreed otherwise), it seems to me that monday can be regarded as the start of the working week. This is just my interpretation of all this, though, IANAL.
This  article on the chilean Direccion del Trabajo (the government entity that is in charge of labor) website seems to agree with this:
> Conforme lo prescribe el artículo 35 del Código del Trabajo, los días domingo > y aquellos que la ley declara festivos son de descanso. De esta manera, las
> partes pueden convenir que la jornada de trabajo se distribuya en cinco o en
> seis días, pero al séptimo el dependiente necesariamente deberá descansar,
> día éste que deberá recaer en día domingo.
(trans. As prescribd in article 35 of the Labor Code, sundays and those days the law regards as holidays are for rest. This way, the parts can convene the working shift be distributed in five or six days, but at the seventh the dependent must necessarily rest, and this day has to fall on sunday.)
Hope this all helps build the case for making this change in the es_CL locale.
Thank you for the research! Unfortunately, it's a little tangential; the official and work week do not necessarily need to be aligned. In the most balatant example, US has Sunday has a holiday and Monday as start of the work week, but Sunday as start of the week. Portugese is probably the same.
On Tue, Feb 19, 2013 at 05:21:19PM +0000, pasky at ucw dot cz wrote:
> --- Comment #7 from Petr Baudis <pasky at ucw dot cz> 2013-02-19 17:21:19 UTC ---
> Thank you for the research! Unfortunately, it's a little tangential; the
> official and work week do not necessarily need to be aligned. In the most
> balatant example, US has Sunday has a holiday and Monday as start of the work
> week, but Sunday as start of the week. Portugese is probably the same.
One way to document the start of the week is to find calendars and then
see how they mark the weeks. You can then document it by taking
pictures of each calendar. EG yearly calendars are often given out
for free by banks in my country, and book sellers also sell calendars, which
you could probably get to make a photo of.
Also , how are your weeks numbered? This is also info available
in calendars. In my country week numbers are very much used.
Most countries use ISO 8601, where the week start on a Monday.
It is mostly English and arabic speaking countries that do otherwise.
Yes, I agree. This is as far as chilean law goes, I'm afraid. Could the info I gathered still help in providing a reference for the value of start_weekday, if not for start_workday? (Indeed, the problem I was having --gnome shell's calendar displayed the wrong start of the week-- is solved simply by setting the value of start_weekday.)
Created attachment 6882 [details]
chilean calendar, for reference
I'm afraid I only had this calendar at hand home, so more reference might be needed. I hope someone can provide it. However, this is a typical calendar as used here. Week numbers are mostly not used in Chile, in my experience.
Sadly, a web search for calendars hosted in chilean websites gives conflicting results...
On 19 February 2013 14:08, hel.sheep at gmail dot com
> --- Comment #10 from hel.sheep at gmail dot com 2013-02-19 18:08:35 UTC ---
> Created attachment 6882 [details]
> --> http://sourceware.org/bugzilla/attachment.cgi?id=6882
> chilean calendar, for reference
> I'm afraid I only had this calendar at hand home, so more reference might be
> needed. I hope someone can provide it. However, this is a typical calendar as
> used here. Week numbers are mostly not used in Chile, in my experience.
> Sadly, a web search for calendars hosted in chilean websites gives conflicting
Besides living here for 26 years, I don't know what better proofI can
give to say that we use sunday as the last day of the week. It's weird
when you pick a system with linux (that uses the glibc locale) only to
find that you have to hard-code something. Ubuntu and other operating
systems (like windows) fix that issue by starting the week day on
monday. Can windows be enough proof?
I'll try to take photos to calendars so we can get some.
As Hal said before, we don't usually use weeks number and the web
search doesn't help at all.
Accounts from various Chilean people are also very valuable for us. As far as I can see, there has been only one contradicting example so far, so I'm inclined to accept the patch if noone disagrees soon.