Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272297 - Catalan locale starts weeks at Sunday instead of Monday
Summary: Catalan locale starts weeks at Sunday instead of Monday
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Reported: 2009-06-02 17:40 UTC by Gil Forcada
Modified: 2009-06-04 19:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Gil Forcada 2009-06-02 17:40:28 UTC
My first bug report, I hope to do it properly :)

My gnome-panel shows the weeks starting at Sunday and that's wrong if the selected locale is ca_AD since Catalan locale always starts weeks at Monday.

So I give a try and found that the French locale has this lines in the LC_TIME description in /usr/share/i18n/locales/fr_FR:

week    7;19971130;4
first_weekday 2
first_workday 2

So I copied them to /usr/share/i18n/locales/ca_ES (which ca_AD uses) and after a locale-gen and a reboot gnome-panel displays correctly the starting week day at Monday.

Should this be fixed here or has to be reported somewhere else?

Reproducible: Always
Comment 1 Sebastian Luther (few) 2009-06-02 19:59:21 UTC
emerge --info please.
Comment 2 Gil Forcada 2009-06-02 20:32:10 UTC
Sorry, here goes:

Portage (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5 i686)
System uname: Linux-2.6.29-gentoo-r5-i686-Intel-R-_Core-TM-2_Duo_CPU_T5870_@_2.00GHz-with-glibc2.0
Timestamp of tree: Tue, 02 Jun 2009 16:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
CFLAGS="-O3 -march=core2 -mtune=core2 -pipe -fforce-addr -ftracer -funit-at-a-time -funroll-loops -funswitch-loops -fomit-frame-pointer"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=core2 -mtune=core2 -pipe -fforce-addr -ftracer -funit-at-a-time -funroll-loops -funswitch-loops -fomit-frame-pointer"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
LINGUAS="ca en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac aalib acl acpi alsa avahi bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cscope cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran gdbm gif gimp gnome gnome-keyring gpm gstreamer gtk hal iconv isdnlog jpeg ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb vim-syntax vorbis wifi win32codecs x86 xcb xml xorg xulrunner xv zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias " APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ca en" USERLAND="GNU" VIDEO_CARDS="intel fbdev vesa vga"
Comment 3 SpanKY gentoo-dev 2009-06-03 01:10:10 UTC
start dates and such need to be posted at upstream bugzilla by you.  we arent residents of said locale and cant defend it in any way.  sorry for the inconvenience.
Comment 4 Gil Forcada 2009-06-03 07:04:05 UTC
Thanks, seems there is already a bug report about it upstream:
Comment 5 Serkan Kaba (RETIRED) gentoo-dev 2009-06-03 19:52:52 UTC
Pardus distro includes patches for several locales (including Turkish and Catalan) Can it be included?
Comment 6 SpanKY gentoo-dev 2009-06-04 19:28:57 UTC
we rely on glibc for locale definitions because different users may interpret things different ways and we no longer want the hassle of arbitrating that kind of drama