Bug 72541
Summary: | date shows Finnish month names improperly | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Petri T. Koistinen <thoron> | ||||||||
Component: | glibc | Assignee: | wdovlrrw <brosenkr> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ben Levenson <benl> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 1.0 | CC: | fweimer | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2003-01-28 16:35:57 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Petri T. Koistinen
2002-08-25 00:13:03 UTC
Created attachment 72805 [details]
date bug demo
Ok, let's make correction to this bug repport. First: Official month names (starting from January) in Finnish are: tammikuu helmikuu maaliskuu huhtikuu toukokuu kesdkuu (note, due bug in bugzilla, that d is actually "a with two dots on it".) heindkuu (d on this month is also "a with two dots on it") elokuu syyskuu lokakuu marraskuu joulukuu As you can see month names in Finnish are quite long. They all have one repeating part: "kuu" (which means "month" or "moon" in English) which can be removed without losing any information. I think that's the idea in date command output. So that picture is wrong, those weird characters should be replaced with whitespace. Created attachment 72827 [details]
Corrected version of picture.
This is not reproducable here, on a current rawhide system. It looks like it was a bug in strftime() in earlier versions of glibc. [root@locutus sh-utils-2.0.12]# LANG=fi_FI date to elo 29 21:00:49 CEST 2002 [root@locutus sh-utils-2.0.12]# LANG=fi_FI date --date="2001/01/01 12:34" ma tammi 1 12:34:00 CET 2001 [root@locutus sh-utils-2.0.12]# rpm -q sh-utils glibc sh-utils-2.0.12-2 glibc-2.2.90-23 IMPORTANT: you have to reboot your machine to see the effect with boot messages. My locale is: [petri@dsl-hkigw4l83 petri]$ locale LANG=fi_FI@euro LC_CTYPE="fi_FI@euro" LC_NUMERIC="fi_FI@euro" LC_TIME="fi_FI@euro" LC_COLLATE="fi_FI@euro" LC_MONETARY="fi_FI@euro" LC_MESSAGES="fi_FI@euro" LC_PAPER="fi_FI@euro" LC_NAME="fi_FI@euro" LC_ADDRESS="fi_FI@euro" LC_TELEPHONE="fi_FI@euro" LC_MEASUREMENT="fi_FI@euro" LC_IDENTIFICATION="fi_FI@euro" LC_ALL= [petri@dsl-hkigw4l83 petri]$ rpm -q sh-utils glibc sh-utils-2.0.12-3 glibc-2.2.90-26 The bug exists still. There are also other problems when I set Finnish as default language from gdm language menu. This is fixed in Red Hat 8.0. I can see this again with Raw Hide after modified settings. Created attachment 82284 [details]
Seeing is beliving and more info.
I guess this problem appears when you mix UTF-8 and Latin-9 locales. Other perhaps UTF-8 and any other locale. Still, there no reason to print weird character, no matter what locale is and how broken it is. |