0

Roll ICU to fix fa unit display

70dd9a6..12825ed



Bug: 1171786, 1113033
Change-Id: I8a5bdea28181f69819c379067da06f14e04785a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2677279
Reviewed-by: Jungshik Shin <jshin@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851434}
This commit is contained in:
Frank Tang
2021-02-06 05:42:56 +00:00
committed by Chromium LUCI CQ
parent b0f95af044
commit 10aa8dfd1f
2 changed files with 4 additions and 2 deletions

2
DEPS

@ -1045,7 +1045,7 @@ deps = {
Var('chromium_git') + '/chromium/deps/hunspell_dictionaries.git' + '@' + '18e09b9197a3b1d771c077c530d1a4ebad04c167',
'src/third_party/icu':
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '70dd9a65bf5b764ced1a0f1a60e82d233d45f63e',
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '12825ed8aae58df594373d335427f1dd3cae9fd3',
'src/third_party/icu4j': {
'packages': [

@ -343,7 +343,9 @@ TEST(TimeFormattingTest, TimeDurationFormat) {
string16 fa_short = UTF8ToUTF16(
u8"\u06f1\u06f5 \u0633\u0627\u0639\u062a\u060c\u200f \u06f4\u06f2 \u062f"
u8"\u0642\u06cc\u0642\u0647");
string16 fa_narrow = UTF8ToUTF16(u8"\u06F1\u06F5h \u06F4\u06F2m");
string16 fa_narrow = UTF8ToUTF16(
u8"\u06f1\u06f5 \u0633\u0627\u0639\u062a \u06f4\u06f2 \u062f\u0642\u06cc"
u8"\u0642\u0647");
string16 fa_numeric = UTF8ToUTF16(u8"\u06f1\u06f5:\u06f4\u06f2");
EXPECT_EQ(fa_wide, TimeDurationFormatString(delta, DURATION_WIDTH_WIDE));
EXPECT_EQ(fa_short, TimeDurationFormatString(delta, DURATION_WIDTH_SHORT));