I'm using Kubuntu 14.04.2 LTS. I set the locale environment with the following command:
export LANG=ru_RU.utf8 LANGUAGE=ru_RU.utf8 LC_ALL=ru_RU.utf8
so that locale
now says all entries are ru_RU.utf8
. But when I issue date
, I get the following:
Чт. мая 14 12:55:36 MSK 2015
While it's normal to say "May 14" in English, we never say "мая 14" in Russian (it would mean "of May 14th" instead of "14th of May"). It should rather be "14 мая" or, at the worst, "май, 14".
According to info coreutils 'date invocation'
, in C
locale the default format string is '+%a %b %e %H:%M:%S %Z %Y'
, and it appears exactly what I get with ru_RU.utf8
locale. But that same info page says that the format string depends on LC_TIME
locale category. So, I conclude that there's a bug somewhere in system locale database.
Is it a bug indeed, or am I missing something?
Do 14. Mai 12:36:08 CEST 2015
– frostschutz May 14 '15 at 10:37LC_ALL=el_GR.utf8 date
returnsΠεμ 14 Μάι
. So yes, it does look like a bug in the Russian localization. – terdon May 14 '15 at 10:54