| Summary: | cal display wrong first day of the week | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vasiliy Glazov <vascom2> |
| Component: | glibc | Assignee: | Jeff Law <law> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | fweimer, jakub, jonathan, kzak, law, me, mluscon, schwab |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-26 13:46:58 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
According to locale(1) the first_weekday of ru_UA is Sunday:
$ LC_TIME="ru_UA.utf8" locale -k first_weekday first_workday
first_weekday=1
first_workday=2
it seems that the first_* keywords are not defined in /usr/share/i18n/locales/ru_UA (and the default is POSIX where first_weekday=1).
see for example ru_RU where is the correct definition:
$ LC_TIME="ru_RU.utf8" locale -k first_weekday first_workday
first_weekday=2
first_workday=2
$ LC_TIME="ru_RU.utf8" cal
Март 2012
Пн Вт Ср Чт Пт Сб Вс
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
It does not seem like a cal(1) bug, reassigning to glibc.
Already fixed in rawhide/f17. Duplcate of 624296. *** This bug has been marked as a duplicate of bug 624296 *** |
Description of problem: cal display wrong first day of the week if LC_TIME="ru_UA.utf8" It show first Sunday, but must be Monday Version-Release number of selected component (if applicable): util-linux-2.20.1-2.2.fc16 How reproducible: always Steps to Reproduce: 1. LC_TIME="ru_UA.utf8" cal 2. 3. Actual results: Март 2012 Вс Пн Вт Ср Чт Пт Су 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Expected results: Март 2012 Пн Вт Ср Чт Пт Сб Вс 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Additional info: