Bug 3430

Summary: Post-SU locales should have Monday as 1st weekday
Product: glibc Reporter: Nickolay V. Shmyrev <nshmyrev>
Component: localedataAssignee: GNU C Library Locale Maintainers <libc-locales>
Status: RESOLVED DUPLICATE    
Severity: critical CC: glibc-bugs
Priority: P1 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Nickolay V. Shmyrev 2006-10-27 20:23:16 UTC
In Russia first day of the week is Monday, so ru_RU locale cerainly needs 

first_weekday 2 % Monday
first_workday 2 % Monday

I am not sure about others but it should be true for all post soviet union
republics, like Ukrain or Belarus. So the same fix is required for 

be_BY, be_BY@latin, uk_UA

probably for

ka_GE uz_UZ, kk_KZ and so on
Comment 1 keld@dkuug.dk 2006-10-28 06:40:27 UTC
Subject: Re:  New: Post-SU locales should have Monday as 1st weekday

On Fri, Oct 27, 2006 at 08:23:17PM -0000, nshmyrev at yandex dot ru wrote:
> In Russia first day of the week is Monday, so ru_RU locale cerainly needs 
> 
> first_weekday 2 % Monday
> first_workday 2 % Monday
> 
> I am not sure about others but it should be true for all post soviet union
> republics, like Ukrain or Belarus. So the same fix is required for 
> 
> be_BY, be_BY@latin, uk_UA
> 
> probably for
> 
> ka_GE uz_UZ, kk_KZ and so on

Hmm, should the first day of the week be Monday too?
Or does the week start on a Sunday?

If the week starts on a Monday, an appropiate week specification should
be present

best regards
keld
Comment 2 Nickolay V. Shmyrev 2006-10-28 09:38:50 UTC
Sorry, Keld, I don't quite understand your comment as I noted in the first
comment: the first day of the week is Monday. What should be present and where?
Comment 3 Nickolay V. Shmyrev 2006-10-28 09:39:57 UTC
Week starts on Monday too. Probably we have different opinion what's first weekday.
Comment 4 keld@dkuug.dk 2006-10-30 13:24:15 UTC
Subject: Re:  Post-SU locales should have Monday as 1st weekday

On Sat, Oct 28, 2006 at 09:38:51AM -0000, nshmyrev at yandex dot ru wrote:
> 
> ------- Additional Comments From nshmyrev at yandex dot ru  2006-10-28 09:38 -------
> Sorry, Keld, I don't quite understand your comment as I noted in the first
> comment: the first day of the week is Monday. What should be present and where?

there should be a week statement defining the lenght of the week, and
when the week starts, and when the week numbering starts. I think the
following is what you need:

week 7,19971201,4

This corresponds to week handling according to ISO 8601, and says that
the week starts on a Monday. This spec is taken from TR 14652, and I
believe it is implemented in glibc.

This statement should be present in the LC_TIME category specification.

best regards
Keld
Comment 5 Nickolay V. Shmyrev 2006-10-31 19:14:40 UTC
Hm, ok I agree that it can be done differently. I just took an example from
french locale.

No matter how it will be implemented, it would be nice to fix this rather
critical bug in locale description. For example, gtk calendar dialog now is
broken due to missing week description.
Comment 6 Nickolay V. Shmyrev 2006-11-18 11:46:52 UTC
Ping, this is very critical localization problem
Comment 7 Nickolay V. Shmyrev 2006-11-30 07:42:13 UTC
Ping again, what should I do to make this change in?
Comment 8 Nickolay V. Shmyrev 2007-01-08 10:28:50 UTC
Ping again, it's really critical locale problem, is there anyone around?
Comment 9 Ulrich Drepper 2007-02-17 08:56:20 UTC
I've already changed ru_RU.  For the other locales the responsible people have
to file new bugs.  I'm not changing something on a hunch.

*** This bug has been marked as a duplicate of 3995 ***