emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#19856: closed (Bad month translation printed with


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#19856: closed (Bad month translation printed with date command in Greek locale)
Date: Tue, 06 Mar 2018 23:24:01 +0000

Your message dated Tue, 6 Mar 2018 15:23:40 -0800
with message-id <address@hidden>
and subject line Re: bug#19856: Bad month translation printed with date command 
in Greek locale
has caused the debbugs.gnu.org bug report #19856,
regarding Bad month translation printed with date command in Greek locale
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
19856: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19856
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Bad month translation printed with date command in Greek locale Date: Fri, 13 Feb 2015 15:46:48 +0200
Hello we are Nick Barkas and Ioannis Barkas from Greece. There is an
annoying error in the date command for quite some time when using
Greek locale.
If date is instructed to print month and day of month, the translation
is wrong and looks funny...
 You have to be able to write Greek in order to understand it and
since the bug exists we assume no one from coreutils developers knows
Greek.
 As a result we will explain every month in detail as it will be Greek
to you. Remove "LC_TIME=el_GR.UTF-8" from the commands to get the date
in English.

This is what you get with "B Y" (month year), which is correct:
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-01-01"
Ιανουάριος 2015
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-02-01"
Φεβρουάριος 2015
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-03-01"
Μάρτιος 2015
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-04-01"
Απρίλιος 2015
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-05-01"
Μάιος 2015
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-06-01"
Ιούνιος 2015
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-07-01"
Ιούλιος 2015
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-08-01"
Αύγουστος 2015
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-09-01"
Σεπτέμβριος 2015
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-10-01"
Οκτώβριος 2015
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-11-01"
Νοέμβριος 2015
$ LC_TIME=el_GR.UTF-8 date +"%B %Y" -d "2015-12-01"
Δεκέμβριος 2015

This is what you get with "d B Y" (month year), which is wrong:
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-01-01"
01 Ιανουάριος 2015
address@hidden:~$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-02-01"
01 Φεβρουάριος 2015
address@hidden:~$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-03-01"
01 Μάρτιος 2015
address@hidden:~$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-04-01"
01 Απρίλιος 2015
address@hidden:~$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-05-01"
01 Μάιος 2015
address@hidden:~$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-06-01"
01 Ιούνιος 2015
address@hidden:~$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-07-01"
01 Ιούλιος 2015
address@hidden:~$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-08-01"
01 Αύγουστος 2015
address@hidden:~$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-09-01"
01 Σεπτέμβριος 2015
address@hidden:~$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-10-01"
01 Οκτώβριος 2015
address@hidden:~$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-11-01"
01 Νοέμβριος 2015
address@hidden:~$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-12-01"
01 Δεκέμβριος 2015

Here is what the date command should print with "d B Y" (month year),
in el_GR.UTF-8 locale:
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-01-01"
01 Ιανουαρίου 2015
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-02-01"
01 Φεβρουαρίου 2015
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-03-01"
01 Μαρτίου 2015
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-04-01"
01 Απριλίου 2015
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-05-01"
01 Μαίου 2015
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-06-01"
01 Ιουνίου 2015
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-07-01"
01 Ιουλίου 2015
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-08-01"
01 Αυγούστου 2015
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-09-01"
01 Σεπτεμβρίου 2015
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-10-01"
01 Οκτωβρίου 2015
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-11-01"
01 Νοεμβρίου 2015
$ LC_TIME=el_GR.UTF-8 date +"%d %B %Y" -d "2015-12-01"
01 Δεκεμβρίου 2015

In Greek language things are different and complex compared to
English. We have accents (τόνους) for most words and words are not
fixed but can dynamically change depending on context.
When the month is accompanied by a day of month the accent (Greek
tonos/τόνος) changes and ...ος becomes ...ου. To fix this, use the
correct translations for months, if and only if %B
 and %d are used together. If the month is called with no day (%d)
using "%B" or if the month is called with "%d %b" or "%b" leave the
translations as they are.
Since there are many computer-science oriented Greek universities and
so many Greeks around the world, we are amazed that no one fixed it so
far.
We must also inform you that this silly bug of yours has been seen in webpages.



--- End Message ---
--- Begin Message --- Subject: Re: bug#19856: Bad month translation printed with date command in Greek locale Date: Tue, 6 Mar 2018 15:23:40 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
On 03/06/2018 02:42 PM, Rafal Luzynski wrote:
So the only thing that needs to be done for coreutils is to bump the
version of Gnulib module used and make sure that the most recent glibc
is used.

Thanks for letting us know. I installed the attached into coreutils master and marking this bug as done, since this is all that should be needed as far as coreutils itself is concerned.

Attachment: 0001-build-update-gnulib-submodule-to-latest.patch
Description: Text Data


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]