diff options
author | Elliott Hughes <enh@google.com> | 2013-08-27 14:30:34 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-08-27 14:55:28 -0700 |
commit | 482b89bdd3e2069852061909f35823ab7dba844f (patch) | |
tree | 2eee674aa4dbbae6d5df5e32ec862b73519b5f88 /libart | |
parent | 3b91d105cbd66fabcb5f4bf5d7a257cb58364bbb (diff) | |
download | libcore-482b89bdd3e2069852061909f35823ab7dba844f.zip libcore-482b89bdd3e2069852061909f35823ab7dba844f.tar.gz libcore-482b89bdd3e2069852061909f35823ab7dba844f.tar.bz2 |
Fix German date parsing.
CLDR changed German from having a mix of 3- and 4-character abbreviated month
names (such as "Juli" and "Aug"[ust]) to having only 4-character names by
adding periods to the end of abbreviated names (giving "Juli" and "Aug.").
This means that a date formatted with the old data (by jb-mr1, say) can't
be parsed with the new data (in jb-mr2, say). Work around this by doing what
icu4c's SimpleDateFormat::parse does --- accepting "xxx" as a match for "xxx.".
Bug: https://code.google.com/p/android/issues/detail?id=59383
Bug: 10511599
(cherry picked from commit df0ad3c0e7a4b15fc7ac16b7aaf6be3e7acfa309)
Change-Id: Iefa65f8399a5657f7060d40baab43f909d4b0481
Diffstat (limited to 'libart')
0 files changed, 0 insertions, 0 deletions