RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1011900 - Locales for Catalan are incorrect
Summary: Locales for Catalan are incorrect
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: glibc
Version: 6.4
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Florian Weimer
QA Contact: Arjun Shankar
URL:
Whiteboard:
Depends On:
Blocks: 1023566 1056252 1172231 1271375
TreeView+ depends on / blocked
 
Reported: 2013-09-25 11:10 UTC by Vicens
Modified: 2016-05-10 21:25 UTC (History)
8 users (show)

Fixed In Version: glibc-2.12-1.180.el6
Doc Type: Bug Fix
Doc Text:
The start of the week for the Catalan locale was correct to Monday (from Sunday).
Clone Of:
Environment:
Last Closed: 2016-05-10 21:25:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Add first_* to ca_ES (581 bytes, patch)
2013-09-25 15:27 UTC, Carlos O'Donell
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0834 0 normal SHIPPED_LIVE glibc bug fix update 2016-05-10 22:41:39 UTC
Sourceware 6770 0 None None None 2019-04-10 13:40:11 UTC

Description Vicens 2013-09-25 11:10:55 UTC
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

Comment 1 kuduka 2013-09-25 11:31:07 UTC
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

Comment 3 Carlos O'Donell 2013-09-25 15:26:36 UTC
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.

Comment 4 Carlos O'Donell 2013-09-25 15:27:21 UTC
Created attachment 802921 [details]
Add first_* to ca_ES

Comment 13 errata-xmlrpc 2016-05-10 21:25:18 UTC
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


Note You need to log in before you can comment on or make changes to this bug.