|
ticket:11018: Support CLDR time separator (ICU4C)
This change will treat the ':' character in patterns as a symbol
(instead of as a literal) and if the Locale defines timeSeparator then
use that character instead when formatting and accept both when parsing.
It will also define the '.' as an alternate time separator, that will be
accepted when parsing in lenient mode.
This is one character more strict than before, when in lenient mode also
the '-' was accepted as time separator instead of ':'.
R=rocketman@google.com
Committed: http://bugs.icu-project.org/trac/changeset/36897
Total comments: 22
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+222 lines, -32 lines) |
Patch |
|
M |
source/i18n/calendar.cpp
|
View
|
1
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
source/i18n/dtfmtsym.cpp
|
View
|
1
|
9 chunks |
+49 lines, -3 lines |
0 comments
|
Download
|
|
M |
source/i18n/gregocal.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
source/i18n/smpdtfmt.cpp
|
View
|
1
2
|
13 chunks |
+60 lines, -15 lines |
0 comments
|
Download
|
|
M |
source/i18n/unicode/dtfmtsym.h
|
View
|
1
2
3
|
2 chunks |
+35 lines, -0 lines |
0 comments
|
Download
|
|
M |
source/i18n/unicode/ucal.h
|
View
|
|
1 chunk |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
source/i18n/unicode/udat.h
|
View
|
1
2
3
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
source/test/cintltst/cdattst.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
source/test/intltest/dtfmrgts.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
source/test/intltest/dtfmttst.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
source/test/intltest/dtfmttst.cpp
|
View
|
1
2
3
|
6 chunks |
+45 lines, -6 lines |
0 comments
|
Download
|
|
M |
source/tools/toolutil/udbgutil.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 13
|