Hi,
as reported in https://bugzilla.redhat.com/show_bug.cgi?id=1319594 , ls
-lh shows unexpected date format in simplified chinese.

When user executes "ls -lh" in Simplified Chinese locale, the output is:
$ ls -lh
总用量 168K
-rw-rw-r--. 1 guest guest 165K 3月  21 14:27 coreutils.po

He expects it to be 
Expected results:
总用量 168K
-rw-rw-r--. 1 guest guest 165K 3月21日 14:27 coreutils.po

Command ls uses "%b %e %H:%M" format for dates. %b means locale abbreviated 
name of month
, %e means space padded day of month (no locales mentioned there). This may be 
the reason,
but I'm not sure what's the upstream position here.

In addition, when using 
LC_ALL=zh_CN date , it shows the "month" chinese letter there as expected - 
using nl_langinfo().

What's your opinion? Where should we request such change (if anywhere)?
glibc? Coreutils translation project? Or not really a bug?

Regards,
       Ondrej




Reply via email to