Hide Forgot
Description of problem: First day of the week for catalan language must be Monday(Dilluns). Version-Release number of selected component (if applicable): 6.4 glibc-common-2.12-1.107.el6_4.4.x86_64 is affected, don't know about other versions How reproducible: First day of the week starts on Sunday(diumenge,dg): bash# LC_ALL=ca_ES cal 2013 de setembre dg dl dt dc dj dv ds 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 /usr/share/i18n/locales/ca_* | grep first On the local definition should be declared: first_weekday 2 first_workday 2 Steps to Reproduce: 1.LC_ALL=ca_ES cal Actual results: 2013 de setembre dg dl dt dc dj dv ds 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 Expected results: 2013 de setembre dl dt dc dj dv ds dg 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 Monday as first day of the week
Hello, Editing the locale and compile it should resolve the problem: [LOC-y9b7h0@oc6323173122 ~]$diff /usr/share/i18n/locales/ca_ES ca_ES.orig 104,105d103 < first_weekday 2 < first_workday 2 [LOC-y9b7h0@oc6323173122 locales]$sudo localedef -i ca_ES -f ISO-8859-1 ca_ES [LOC-y9b7h0@oc6323173122 locales]$LANG=ca_ES cal 2013 de setembre dl dt dc dj dv ds dg 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
This is already fixed upstream by the fix for sourceware bz 6770. I'm moving this to rhel-6.6 since it's too late for rhel-6.5. We will look at this when we scope issues for rhel-6.6.
Created attachment 802921 [details] Add first_* to ca_ES
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0834.html