Fix locale support for Hebrew and Indonesian

pull/3971/head
Alex Baker 4 weeks ago
parent 2b63e33de2
commit 20e995b19b

@ -349,7 +349,7 @@ class DateUtilitiesTest {
} }
@Test @Test
fun hebrewDateTimeNoYear() = withLocale(Locale.forLanguageTag("iw")) { fun hebrewDateTimeNoYear() = withLocale(Locale.forLanguageTag("he")) {
freezeAt(DateTime(2018, 12, 12)) { freezeAt(DateTime(2018, 12, 12)) {
assertMatches( assertMatches(
"יום ראשון, 14 בינואר( בשעה)? 13:45", "יום ראשון, 14 בינואר( בשעה)? 13:45",
@ -359,7 +359,7 @@ class DateUtilitiesTest {
} }
@Test @Test
fun hebrewDateTimeWithYear() = withLocale(Locale.forLanguageTag("iw")) { fun hebrewDateTimeWithYear() = withLocale(Locale.forLanguageTag("he")) {
freezeAt(DateTime(2017, 12, 12)) { freezeAt(DateTime(2017, 12, 12)) {
assertMatches( assertMatches(
"יום ראשון, 14 בינואר 2018( בשעה)? 13:45", "יום ראשון, 14 בינואר 2018( בשעה)? 13:45",

@ -29,8 +29,10 @@
<locale android:name="hy" /> <locale android:name="hy" />
<locale android:name="ia" /> <locale android:name="ia" />
<locale android:name="id" /> <locale android:name="id" />
<locale android:name="in" />
<locale android:name="it" /> <locale android:name="it" />
<locale android:name="iw" /> <locale android:name="iw" />
<locale android:name="he" />
<locale android:name="ja" /> <locale android:name="ja" />
<locale android:name="kmr" /> <locale android:name="kmr" />
<locale android:name="kn" /> <locale android:name="kn" />

Loading…
Cancel
Save