Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473058 - sys-apps/util-linux-2.23 - ` LC_TIME=ru_RU.UTF-8 cal 2013' misprints multibyte week day abbreviations
Summary: sys-apps/util-linux-2.23 - ` LC_TIME=ru_RU.UTF-8 cal 2013' misprints multibyt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-12 06:10 UTC by Andrey Grozin
Modified: 2013-10-14 11:52 UTC (History)
0 users

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 Andrey Grozin gentoo-dev 2013-06-12 06:10:39 UTC
grozin@elrond ~ $ cal 2013
                               2013                               

       Январь                 Февраль                 Март        
Пн Вт Ср Чт Пт Сб Вс   Пн Вт Ср Чт Пт Сб Вс   Пн Вт Ср Чт Пт    1  2  3  4  5  6                1  2  3                1  2  3
 7  8  9 10 11 12 13    4  5  6  7  8  9 10    4  5  6  7  8  9 10
14 15 16 17 18 19 20   11 12 13 14 15 16 17   11 12 13 14 15 16 17
21 22 23 24 25 26 27   18 19 20 21 22 23 24   18 19 20 21 22 23 24
28 29 30 31            25 26 27 28            25 26 27 28 29 30 31

       Апрель                   Май                   Июнь        
Пн Вт Ср Чт Пт Сб Вс   Пн Вт Ср Чт Пт Сб Вс   Пн Вт Ср Чт Пт 1  2  3  4  5  6  7          1  2  3  4  5                   1  2
 8  9 10 11 12 13 14    6  7  8  9 10 11 12    3  4  5  6  7  8  9
15 16 17 18 19 20 21   13 14 15 16 17 18 19   10 11 12 13 14 15 16
22 23 24 25 26 27 28   20 21 22 23 24 25 26   17 18 19 20 21 22 23
29 30                  27 28 29 30 31         24 25 26 27 28 29 30

        Июль                  Август                Сентябрь      
Пн Вт Ср Чт Пт Сб Вс   Пн Вт Ср Чт Пт Сб Вс   Пн Вт Ср Чт Пт 1  2  3  4  5  6  7             1  2  3  4                      1
 8  9 10 11 12 13 14    5  6  7  8  9 10 11    2  3  4  5  6  7  8
15 16 17 18 19 20 21   12 13 14 15 16 17 18    9 10 11 12 13 14 15
22 23 24 25 26 27 28   19 20 21 22 23 24 25   16 17 18 19 20 21 22
29 30 31               26 27 28 29 30 31      23 24 25 26 27 28 29
                                              30
       Октябрь                Ноябрь                 Декабрь      
Пн Вт Ср Чт Пт Сб Вс   Пн Вт Ср Чт Пт Сб Вс   Пн Вт Ср Чт Пт    1  2  3  4  5  6                1  2  3                      1
 7  8  9 10 11 12 13    4  5  6  7  8  9 10    2  3  4  5  6  7  8
14 15 16 17 18 19 20   11 12 13 14 15 16 17    9 10 11 12 13 14 15
21 22 23 24 25 26 27   18 19 20 21 22 23 24   16 17 18 19 20 21 22
28 29 30 31            25 26 27 28 29 30      23 24 25 26 27 28 29
                                              30 31

grozin@elrond ~ $ locale
LANG=ru_RU.utf8
LC_CTYPE="ru_RU.utf8"
LC_NUMERIC=C
LC_TIME="ru_RU.utf8"
LC_COLLATE=C
LC_MONETARY="ru_RU.utf8"
LC_MESSAGES="ru_RU.utf8"
LC_PAPER="ru_RU.utf8"
LC_NAME="ru_RU.utf8"
LC_ADDRESS="ru_RU.utf8"
LC_TELEPHONE="ru_RU.utf8"
LC_MEASUREMENT="ru_RU.utf8"
LC_IDENTIFICATION="ru_RU.utf8"
LC_ALL=


So, there are no Saturdays and Sundays, and no newlines after the lines with week days. I definitely remember that in an earlier version of util-linux cal produced a correct output; unfortunately, don't remember the exact version.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-12 14:47:00 UTC
Confirmed.
Comment 2 SpanKY gentoo-dev 2013-06-17 01:53:48 UTC
(In reply to Andrey Grozin from comment #0)

there are many versions in the tree which should be easy for you to check
Comment 3 Andrey Grozin gentoo-dev 2013-06-17 09:25:27 UTC
(In reply to SpanKY from comment #2)
> there are many versions in the tree which should be easy for you to check
2.22.2 works OK; 2.23 and 2.23.1 - not.
Comment 4 SpanKY gentoo-dev 2013-09-29 01:25:56 UTC
i just tried 2.23.2 and it seems to be working for me.  can you confirm ?

$ LC_TIME=ru_RU.UTF-8 cal 2013
                               2013                               

       Январь                 Февраль                 Март        
Пн Вт Ср Чт Пт Сб Вс   Пн Вт Ср Чт Пт Сб Вс   Пн Вт Ср Чт Пт Сб Вс
    1  2  3  4  5  6                1  2  3                1  2  3
 7  8  9 10 11 12 13    4  5  6  7  8  9 10    4  5  6  7  8  9 10
..........
Comment 5 Andrey Grozin gentoo-dev 2013-10-14 11:52:24 UTC
(In reply to SpanKY from comment #4)
> i just tried 2.23.2 and it seems to be working for me.  can you confirm ?
Yes, 2.23.2 works fine. Closing.