Revert r304192 to fix short month names and replace %b with %_m in date_fmt

for Chinese locales.

As mentioned in the commit message of r289041, nl_langinfo(ABMON_*) only
returned numbers when using a Chinese locale, this causes problems in
applications that put the short month name and the day of the month together.

Spotted by:	Ting-Wei Lan <lantw44 gmail com>
This commit is contained in:
kevlo 2016-09-02 00:43:03 +00:00
parent 43196a4e78
commit fa47779a1c
6 changed files with 78 additions and 78 deletions

View File

@ -4,18 +4,18 @@
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# #
# Short month names # Short month names
1 !!#1TB
2 !!#2TB
3 !!#3TB
4 !!#4TB
5 !!#5TB
6 !!#6TB
7 !!#7TB
8 !!#8TB
9 !!#9TB
10 #1#0TB
11 #1#1TB
12 #1#2TB
# #
# Long month names (as in a date) # Long month names (as in a date)
一月 一月
@ -63,7 +63,7 @@
下午 下午
# #
# date_fmt # date_fmt
%Y年%b月%e日 %A %X %Z %Y年%_m月%e日 %A %X %Z
# #
# Long month names (without case ending) # Long month names (without case ending)
一月 一月

View File

@ -4,18 +4,18 @@
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# #
# Short month names # Short month names
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
# #
# Long month names (as in a date) # Long month names (as in a date)
一月 一月
@ -63,7 +63,7 @@
下午 下午
# #
# date_fmt # date_fmt
%Y年%b月%e日 %A %X %Z %Y年%_m月%e日 %A %X %Z
# #
# Long month names (without case ending) # Long month names (without case ending)
一月 一月

View File

@ -4,18 +4,18 @@
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# #
# Short month names # Short month names
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
# #
# Long month names (as in a date) # Long month names (as in a date)
一月 一月
@ -63,7 +63,7 @@
下午 下午
# #
# date_fmt # date_fmt
%Y年%b月%e日 %A %X %Z %Y年%_m月%e日 %A %X %Z
# #
# Long month names (without case ending) # Long month names (without case ending)
一月 一月

View File

@ -4,18 +4,18 @@
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# #
# Short month names # Short month names
1  1月
2  2月
3  3月
4  4月
5  5月
6  6月
7  7月
8  8月
9  9月
10 10月
11 11月
12 12月
# #
# Long month names (as in a date) # Long month names (as in a date)
一月 一月
@ -63,7 +63,7 @@
下午 下午
# #
# date_fmt # date_fmt
%Y年%b月%e日 %A %X %Z %Y年%_m月%e日 %A %X %Z
# #
# Long month names (without case ending) # Long month names (without case ending)
一月 一月

View File

@ -4,18 +4,18 @@
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# #
# Short month names # Short month names
1  1月
2  2月
3  3月
4  4月
5  5月
6  6月
7  7月
8  8月
9  9月
10 10月
11 11月
12 12月
# #
# Long month names (as in a date) # Long month names (as in a date)
1¤ë 1¤ë
@ -63,7 +63,7 @@
¤U¤È ¤U¤È
# #
# date_fmt # date_fmt
%Y¦~%b¤ë%e¤é %A %X %Z %Y年%_m月%e日 %A %X %Z
# #
# Long month names (without case ending) # Long month names (without case ending)
1¤ë 1¤ë

View File

@ -4,18 +4,18 @@
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# #
# Short month names # Short month names
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
# #
# Long month names (as in a date) # Long month names (as in a date)
1月 1月
@ -63,7 +63,7 @@
下午 下午
# #
# date_fmt # date_fmt
%Y年%b月%e日 %A %X %Z %Y年%_m月%e日 %A %X %Z
# #
# Long month names (without case ending) # Long month names (without case ending)
1月 1月