Author: kevlo Date: Tue Sep 6 01:10:51 2016 New Revision: 305452 URL: https://svnweb.freebsd.org/changeset/base/305452
Log: MFC r305265: 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> Modified: stable/11/share/timedef/zh_CN.GB2312.src stable/11/share/timedef/zh_CN.GBK.src stable/11/share/timedef/zh_CN.UTF-8.src stable/11/share/timedef/zh_CN.eucCN.src stable/11/share/timedef/zh_TW.Big5.src stable/11/share/timedef/zh_TW.UTF-8.src Directory Properties: stable/11/ (props changed) Modified: stable/11/share/timedef/zh_CN.GB2312.src ============================================================================== --- stable/11/share/timedef/zh_CN.GB2312.src Tue Sep 6 01:07:12 2016 (r305451) +++ stable/11/share/timedef/zh_CN.GB2312.src Tue Sep 6 01:10:51 2016 (r305452) @@ -4,18 +4,18 @@ # ----------------------------------------------------------------------------- # # Short month names - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 +!!#1TB +!!#2TB +!!#3TB +!!#4TB +!!#5TB +!!#6TB +!!#7TB +!!#8TB +!!#9TB +#1#0TB +#1#1TB +#1#2TB # # Long month names (as in a date) һ�� @@ -63,7 +63,7 @@ ���� # # date_fmt -%Y��%b��%e�� %A %X %Z +%Y��%_m��%e�� %A %X %Z # # Long month names (without case ending) һ�� Modified: stable/11/share/timedef/zh_CN.GBK.src ============================================================================== --- stable/11/share/timedef/zh_CN.GBK.src Tue Sep 6 01:07:12 2016 (r305451) +++ stable/11/share/timedef/zh_CN.GBK.src Tue Sep 6 01:10:51 2016 (r305452) @@ -4,18 +4,18 @@ # ----------------------------------------------------------------------------- # # Short month names - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 + 1�� + 2�� + 3�� + 4�� + 5�� + 6�� + 7�� + 8�� + 9�� +10�� +11�� +12�� # # Long month names (as in a date) һ�� @@ -63,7 +63,7 @@ ���� # # date_fmt -%Y��%b��%e�� %A %X %Z +%Y��%_m��%e�� %A %X %Z # # Long month names (without case ending) һ�� Modified: stable/11/share/timedef/zh_CN.UTF-8.src ============================================================================== Binary file (source and/or target). No diff available. Modified: stable/11/share/timedef/zh_CN.eucCN.src ============================================================================== --- stable/11/share/timedef/zh_CN.eucCN.src Tue Sep 6 01:07:12 2016 (r305451) +++ stable/11/share/timedef/zh_CN.eucCN.src Tue Sep 6 01:10:51 2016 (r305452) @@ -4,18 +4,18 @@ # ----------------------------------------------------------------------------- # # Short month names - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 +������ +������ +������ +������ +������ +������ +������ +������ +������ +������ +������ +������ # # Long month names (as in a date) һ�� @@ -63,7 +63,7 @@ ���� # # date_fmt -%Y��%b��%e�� %A %X %Z +%Y��%_m��%e�� %A %X %Z # # Long month names (without case ending) һ�� Modified: stable/11/share/timedef/zh_TW.Big5.src ============================================================================== --- stable/11/share/timedef/zh_TW.Big5.src Tue Sep 6 01:07:12 2016 (r305451) +++ stable/11/share/timedef/zh_TW.Big5.src Tue Sep 6 01:10:51 2016 (r305452) @@ -4,18 +4,18 @@ # ----------------------------------------------------------------------------- # # Short month names - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 +�@���� +�@���� +�@���� +�@���� +�@���� +�@���� +�@���� +�@���� +�@���� +������ +������ +������ # # Long month names (as in a date) 1�� @@ -63,7 +63,7 @@ �U�� # # date_fmt -%Y�~%b��%e�� %A %X %Z +%Y�~%_m��%e�� %A %X %Z # # Long month names (without case ending) 1�� Modified: stable/11/share/timedef/zh_TW.UTF-8.src ============================================================================== --- stable/11/share/timedef/zh_TW.UTF-8.src Tue Sep 6 01:07:12 2016 (r305451) +++ stable/11/share/timedef/zh_TW.UTF-8.src Tue Sep 6 01:10:51 2016 (r305452) @@ -4,18 +4,18 @@ # ----------------------------------------------------------------------------- # # Short month names - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -11 -12 + 1月 + 2月 + 3月 + 4月 + 5月 + 6月 + 7月 + 8月 + 9月 +10月 +11月 +12月 # # Long month names (as in a date) 1月 @@ -63,7 +63,7 @@ 下午 # # date_fmt -%Y年%b月%e日 %A %X %Z +%Y年%_m月%e日 %A %X %Z # # Long month names (without case ending) 1月
_______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"