freebsd-dev/share
Xin LI 24824e9721 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
2015-10-08 17:48:49 +00:00
..
colldef Add META_MODE support. 2015-06-13 19:20:56 +00:00
dict Add META_MODE support. 2015-06-13 19:20:56 +00:00
doc META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
dtrace Add a little, but very useful script for use with programs that work using an 2015-10-04 00:40:12 +00:00
examples Add option -l for specifying which OS loader to dlopen(3). By default 2015-10-08 02:28:22 +00:00
i18n new depends 2015-06-16 23:37:19 +00:00
keys
man Fix core corruption caused by race in note_procstat_vmmap 2015-10-06 18:07:00 +00:00
me Add META_MODE support. 2015-06-13 19:20:56 +00:00
misc jhg -> jgh 2015-09-05 01:00:02 +00:00
mk To help bootstrap new local depends, 2015-10-07 00:32:33 +00:00
mklocale Add META_MODE support. 2015-06-13 19:20:56 +00:00
monetdef Add META_MODE support. 2015-06-13 19:20:56 +00:00
msgdef Remove rm -Rf beforeinstall hack that was needed due to a change that 2015-09-18 22:55:18 +00:00
numericdef Add META_MODE support. 2015-06-13 19:20:56 +00:00
security META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
sendmail Add META_MODE support. 2015-06-13 19:20:56 +00:00
skel Add META_MODE support. 2015-06-13 19:20:56 +00:00
snmp Add META_MODE support. 2015-06-13 19:20:56 +00:00
syscons Add META_MODE support. 2015-06-13 19:20:56 +00:00
tabset Add META_MODE support. 2015-06-13 19:20:56 +00:00
termcap Add META_MODE support. 2015-06-13 19:20:56 +00:00
tests
timedef Fix short month names and replace %b with %_m in date_fmt for Chinese 2015-10-08 17:48:49 +00:00
vt Add double size 16x32 VGA ROM font 2015-09-25 02:52:54 +00:00
zoneinfo Fix build when LEAPSECONDS is enabled. 2015-08-22 07:41:28 +00:00
Makefile Only build share/dtrace if MK_CDDL != no 2015-01-25 00:32:17 +00:00
Makefile.inc