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.
[Prev in Thread]
Current Thread
[Next in Thread]
date: Chinese: confusing on Sundays,
Dan Jacobson<=