summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-10-08 17:48:49 +0000
committerdelphij <delphij@FreeBSD.org>2015-10-08 17:48:49 +0000
commit1cf401a10ad0b083ec7f558262e3b06d75e0b4d5 (patch)
tree4a8edbd687c83dbb11a9736d2b2d3a9154591d78 /contrib/libc++/src
parentb2d840b61f56cbfedd019495716c72ad05e2b46c (diff)
downloadFreeBSD-src-1cf401a10ad0b083ec7f558262e3b06d75e0b4d5.zip
FreeBSD-src-1cf401a10ad0b083ec7f558262e3b06d75e0b4d5.tar.gz
Fix short month names and replace %b with %_m in date_fmt for Chinese
locales. When using a Chinese locale, such as zh_TW.UTF-8 or zh_CN.UTF-8, nl_langinfo(ABMON_*) only returned numbers. For instance, nl_langinfo(ABMON_1) returns 1, nl_langinfo(ABMON_2) returns 2, and so on. This causes problems in applications that put the short month name and the day of the month together. For example, 'Apr 14' in English becomes '414日' in Chinese on the top bar of GNOME Shell. This problem may be resolved by appending '月' to all short month names and replacing %b with %_m in date_fmt. ja_JP.UTF-8 already does this, and this matches the en_US.ISO8859-1 behavior, which returns 'Oct'. The GNU C Library also returns values with '月' appended. PR: 199441 Submitted by: Ting-Wei Lan <lantw44 gmail com> MFC after: 2 weeks
Diffstat (limited to 'contrib/libc++/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud