Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182869 - [glibc/locale] week starts from Sunday in ru_RU.UTF-8 locale
Summary: [glibc/locale] week starts from Sunday in ru_RU.UTF-8 locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-22 08:03 UTC by Alexander Vedernikov
Modified: 2007-07-23 18:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Vedernikov 2007-06-22 08:03:01 UTC
In ru_RU.UTF-8 locale week starts from Sunday, when it must start from Monday.

locale -k -c LC_TIME
-----------------------
abday="Вск;Пнд;Втр;Срд;Чтв;Птн;Сбт" ("Sun;Mon;....;Sat")
day="Воскресенье;Понедельник;Вторник;Среда;Четверг;Пятница;Суббота"
-----------------------
first_weekday=1
first_workday=1
-----------------------
But, in Russia, start week day is Monday, not Sunday.

Reproducible: Always

Steps to Reproduce:
1. Set locale to ru_RU.UTF-8
2. locale -k -c LC_TIME
Actual Results:  
first_weekday=1

Expected Results:  
first_weekday=2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-22 08:19:49 UTC
Apparently already fixed upstream.

http://sourceware.org/cgi-bin/cvsweb.cgi/libc/localedata/locales/ru_RU.diff?r1=1.23.2.5&r2=1.23.2.6&cvsroot=glibc
Comment 2 SpanKY gentoo-dev 2007-06-22 08:32:18 UTC
this is fixed in glibc-2.6 already ... i dont plan on making another glibc-2.5 revision, but if i do, i'll include this
Comment 3 Kim 2007-07-23 18:46:25 UTC
The exact same problem exists with the danish locale (da_DK), but that is NOT yet fixed upstream.

Upstream seems reluctant to apply a general fix: http://sources.redhat.com/bugzilla/show_bug.cgi?id=2388

Should we file separate bugs here or upstream for each locale affected?
Comment 4 SpanKY gentoo-dev 2007-07-23 18:52:23 UTC
upstream please