Bug 3995 - ru_RU have bad first_weekday
Summary: ru_RU have bad first_weekday
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: GNU C Library Locale Maintainers
URL:
Keywords:
: 3430 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-07 14:50 UTC by Alexander Zubkov
Modified: 2016-02-26 15:07 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
ru-week-fix.patch (192 bytes, patch)
2007-02-07 14:52 UTC, Alexander Zubkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Zubkov 2007-02-07 14:50:25 UTC
glibc locale ru_RU uses default first_weekday, which is 1 (sunday).
But in Russia first day of the week is monday, so first_weekday should
be 2.
Comment 1 Alexander Zubkov 2007-02-07 14:52:38 UTC
Created attachment 1542 [details]
ru-week-fix.patch

Proposed changes are in attached patch.
Comment 2 Alexander Zubkov 2007-02-08 12:31:13 UTC
I've found that there is also first_workday value in locale which also should be
2 and not 1 in ru_RU.
Comment 3 Ulrich Drepper 2007-02-17 07:27:19 UTC
Since I trust everybody more than the original author I applied the patch.
Comment 4 Ulrich Drepper 2007-02-17 08:56:21 UTC
*** Bug 3430 has been marked as a duplicate of this bug. ***
Comment 5 Sourceware Commits 2007-07-12 14:55:36 UTC
Subject: Bug 3995

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_5-branch
Changes by:	jakub@sourceware.org	2007-07-12 14:55:25

Modified files:
	localedata     : ChangeLog 
	localedata/locales: ru_RU 

Log message:
	2007-02-16  Ulrich Drepper  <drepper@redhat.com>
	
	[BZ #3995]
	* locales/ru_RU (LC_TIME): Set first_weekday and first_workday.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/localedata/ChangeLog.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.603.2.6&r2=1.603.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/localedata/locales/ru_RU.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.29&r2=1.29.2.1