Bug 10873 - ru_RU: abbreviated weekdays are incorrect
Summary: ru_RU: abbreviated weekdays are incorrect
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:
Depends on:
Blocks:
 
Reported: 2009-10-30 06:54 UTC by UrmasD
Modified: 2014-07-01 05:31 UTC (History)
4 users (show)

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


Attachments
glibc-alt-locales-ru_RU-fix-abday-sw-10873.patch (523 bytes, patch)
2012-08-28 22:41 UTC, Dmitry V. Levin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description UrmasD 2009-10-30 06:54:36 UTC
In current Ru_RU locale weekdays are abbreviated with some strange three-letter forms (Птн). It is not 
a common-use abbreviation in Russian. Correct forms are two-letter, with an optional dot after: (Пт[.])
Comment 1 Ulrich Drepper 2010-04-09 03:01:21 UTC
You'll have to provide some documentation for this.  Government publications,
newspapers.  Fact is that people don't have problems with the current form for
many years.
Comment 2 Roumen Petrov 2010-04-09 21:33:52 UTC
I add to the issue as I would like to whether is save to abbreviation for
weekdays with variable length. The issue is program like cal - for weekdays
program output only first two letters.

(my case is out of scope of this issue - in Bulgarian two/three-letter
abbreviations are not orthographically correct)
Comment 3 van.de.bugger 2011-02-27 22:07:44 UTC
(In reply to comment #1)
> You'll have to provide some documentation for this.  Government publications,
> newspapers.  Fact is that people don't have problems with the current form for
> many years.

People who know how to complain usually use en_US locale. People who use ru_RU locale do not know how to complain. ;-)

Look at calendars:

http://www.garant.ru/calendar/buhpravo/
http://base.consultant.ru/cons/cgi/online.cgi?req=doc;base=LAW;n=107926

"Garant" and "Consultant" are well-known companies providing legal databases (collection of laws and other official documents). In the calendars they always use two-letter abbreviations.

Looks for calendars at:

http://top.rbc.ru/archive/ (Well-known business and general news site.)
http://gazeta.ru/history.shtml (Site of a newspaper.)
http://www.kommersant.ru/archive.aspx (Well-known newspaper.)
http://www.1tv.ru/shed/ (Federal TV channel).
http://www.rutv.ru/program.html (Federal TV channel; you will have to click to "Календарь" link to see the drop-down calendar).
http://www.gismeteo.ru/city/daily/4368/ (Well-known weather site).
http://www.livejournal.ru/zh_zh_zh (Live Journal in Russian; you will have to click "Архив" link to display the calendar.)
http://www.sport.ru/ (Look at the bottom.)
http://www.maximum.ru/actions/ (Radio station.)
http://www.patriarchia.ru/db/news/ (official site of Russian Orthodox Church.)
http://ru.wikipedia.org/wiki/2011#.D0.9A.D0.B0.D0.BB.D0.B5.D0.BD.D0.B4.D0.B0.D1.80.D1.8C_.D0.BD.D0.B0_2011_.D0.B3.D0.BE.D0.B4
http://cards.yandex.ru/calendar.xml (Yandex is the Russian web searcher.)

Search results:
                                   Google       Yandex
"пн вт ср чт пт сб вс"         12 700 000   49 000 000
"пнд втр срд чтв птн сбт вск"   3 140 000      608 000

I also have posted a question to www.gramota.ru website (well known language-related source). Waiting for reply.
Comment 4 Dmitry V. Levin 2012-08-28 22:41:29 UTC
Created attachment 6617 [details]
glibc-alt-locales-ru_RU-fix-abday-sw-10873.patch

The patch I installed in ALT Linux, feel free to reuse.
Comment 5 Dmitry V. Levin 2012-11-05 13:14:37 UTC
A commit (http://git.altlinux.org/gears/g/..git?p=glibc.git;a=commitdiff;h=glibc-2.13-145-gf498392) applied 1.5 years ago changed abbreviated day names from fixed three-letter form to fixed two-letter form (without mentioning the change in its ChangeLog entry and along with erroneous changes).  The only thing that remains to be fixed wrt this bug report is removing trailing dots added to abbreviated day names by the commit mentioned above.  I'm going to apply the patch attached to this bug report some months ago to fix that.