Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224763 - sys-apps/util-linux-2.13.1.1 - /usr/bin/cal glitch
Summary: sys-apps/util-linux-2.13.1.1 - /usr/bin/cal glitch
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-03 15:26 UTC by Imre Péntek
Modified: 2009-02-10 00:40 UTC (History)
0 users

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


Attachments
emerge --info (emergeinfo.txt,3.56 KB, text/plain)
2008-06-03 15:39 UTC, Imre Péntek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Imre Péntek 2008-06-03 15:26:37 UTC
imi@boborjan ~ $ LANG=en_US cal
     June 2008      
Su Mo Tu We Th Fr Sa
 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 output seems to be fine, but:
imi@boborjan ~ $ echo $LANG
hu_HU.UTF-8
imi@boborjan ~ $ cal
    június 2008     
v h k sz cs p sz
 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

imi@boborjan ~ $ 

the day-of-week abbreviations got shifted left, it would be better to have this output:
    június 2008     
 v  h  k sz cs  p sz
 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

or even better, as we, in Hungary consider Monday as the first day of the week
this would be even better output:
    június 2008     
 h  k sz cs  p sz  v
                   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


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-03 15:33:22 UTC
Your emerge --info too, please. And which version of sys-apps/util-linux do you have?
Comment 2 Imre Péntek 2008-06-03 15:39:09 UTC
Created attachment 155375 [details]
emerge --info
Comment 3 Imre Péntek 2008-06-03 15:41:47 UTC
I have sys-apps/util-linux-2.13.1.1
Comment 4 SpanKY gentoo-dev 2009-02-10 00:40:55 UTC
first day of the week is locale data, not specific to util-linux

glibc itself declares that info

if you have a problem with what the "first day of the week" is declared for your locale, you'll have to file a report here:
http://sourceware.org/bugzilla/

you have to do it because it has to come from a "native" of the locale in question