bug-coreutils
[Top][All Lists]
Advanced

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

date: Chinese: confusing on Sundays


From: Dan Jacobson
Subject: date: Chinese: confusing on Sundays
Date: Wed, 13 Dec 2006 01:00:48 +0800

Please forward this to whoever.
A funny thing happens on Sundays if you are Chinese.
$ LC_CTYPE=zh_TW.utf8 date -d sunday
日 12月 10 00:00:00 CST 2006

The problem occurs because the word 日 means "Sunday" and also "day"
in Chinese.

Therefore
日 12月 10 00:00:00 CST 2006
looks like
Day 12Month 10 00:00:00 CST 2006
I.e., the twelfth of October.
Just wanted to let you know.

Yes this is just
$ LC_ALL=C date -d sunday
Sun Dec 10 00:00:00 CST 2006
but not at first glance.




reply via email to

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