diff options
author | Kevin B Kenny <kennykb@acm.org> | 2007-04-20 02:23:30 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2007-04-20 02:23:30 (GMT) |
commit | 41da80ee66a3a7325bde6e0e8e661a066a932c2b (patch) | |
tree | e0126d39453c1ccf075ec3d566184e702106c624 /tools | |
parent | 7ea39f0edbf37288e5738891d6c8b405bf19dd34 (diff) | |
download | tcl-41da80ee66a3a7325bde6e0e8e661a066a932c2b.zip tcl-41da80ee66a3a7325bde6e0e8e661a066a932c2b.tar.gz tcl-41da80ee66a3a7325bde6e0e8e661a066a932c2b.tar.bz2 |
* doc/clock.n: Corrected a silly error (transposed 'uppercase'
and 'lowercase' in clock.n. [Bug 1656002]
Clarified that [clock scan] does not recognize a locale's
alternative calendar.
* library/clock.tcl: Corrected an error in skipping over the
%Ey field on input.
* library/msgs/ja.msg:
* tools/loadICU.tcl: Corrected several localisation faults in
the Japanese locale (most notably, incorrect dates for the
Emperors' eras). [Bug 1637471]. Many thanks to SourceForge
user 'nyademo' for pointing this out and developing a fix.
* generic/tclPathObj.c: Corrected a 'const'ness fault that
caused bitter complaints from MSVC.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/loadICU.tcl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/loadICU.tcl b/tools/loadICU.tcl index ab72f3c..da0e134 100755 --- a/tools/loadICU.tcl +++ b/tools/loadICU.tcl @@ -26,7 +26,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: loadICU.tcl,v 1.2 2005/10/03 14:38:08 kennykb Exp $ +# RCS: @(#) $Id: loadICU.tcl,v 1.3 2007/04/20 02:23:35 kennykb Exp $ # #---------------------------------------------------------------------- @@ -61,22 +61,22 @@ foreach zt $zhDigits { # Set format overrides for various locales. set format(zh,LOCALE_NUMERALS) $zhNumbers -set format(ja,LOCALE_NUMERALS) $zhNumbers set format(ja,LOCALE_ERAS) [list \ [list -9223372036854775808 \u897f\u66a6 0 ] \ - [list -3060979200 \u660e\u6cbb 1867] \ - [list -1812153600 \u5927\u6b63 1911] \ - [list -1357603200 \u662d\u548c 1925] \ - [list 568512000 \u5e73\u6210 1987]] + [list -3061011600 \u660e\u6cbb 1867] \ + [list -1812186000 \u5927\u6b63 1911] \ + [list -1357635600 \u662d\u548c 1925] \ + [list 600220800 \u5e73\u6210 1988]] set format(zh,LOCALE_DATE_FORMAT) "\u516c\u5143%Y\u5e74%B%Od\u65E5" -set format(ja,LOCALE_DATE_FORMAT) "%EY\u5e74%B%Od\u65E5" +set format(ja,LOCALE_DATE_FORMAT) "%EY\u5e74%m\u6708%d\u65E5" set format(ko,LOCALE_DATE_FORMAT) "%Y\ub144%B%Od\uc77c" set format(zh,LOCALE_TIME_FORMAT) "%OH\u65f6%OM\u5206%OS\u79d2" -set format(ja,LOCALE_TIME_FORMAT) "%OH\u6642%OM\u5206%OS\u79d2" +set format(ja,LOCALE_TIME_FORMAT) "%H\u6642%M\u5206%S\u79d2" set format(ko,LOCALE_TIME_FORMAT) "%H\uc2dc%M\ubd84%S\ucd08" set format(zh,LOCALE_DATE_TIME_FORMAT) "%A %Y\u5e74%B%Od\u65E5%OH\u65f6%OM\u5206%OS\u79d2 %z" -set format(ja,LOCALE_DATE_TIME_FORMAT) "%A %EY\u5e74%B%Od\u65E5%OH\u6642%OM\u5206%OS\u79d2 %z" +set format(ja,LOCALE_DATE_TIME_FORMAT) "%EY\u5e74%m\u6708%d\u65E5 (%a) %H\u6642%M\u5206%S\u79d2 %z" set format(ko,LOCALE_DATE_TIME_FORMAT) "%A %Y\ub144%B%Od\uc77c%H\uc2dc%M\ubd84%S\ucd08 %z" +set format(ja,TIME_FORMAT_12) {%P %I:%M:%S} # The next set of format overrides were obtained from the glibc # localization strings. |