Change date format for better 'ja' compatibility

eeeMMd doesn't properly translate dates in Japanese.
According to ICU team, we should be using EEEMMd instead.

The date output will be different in ja, ko, th out of 728 locales.

Test: visual
Fixes: 161186825
Change-Id: Ib551d532f08b89be3a0679c44c51b65f493f1a65
This commit is contained in:
Lucas Dupin
2020-08-07 11:49:47 -07:00
parent 70f3600c5c
commit 18bd42434f
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@
<!-- @hide DO NOT TRANSLATE. Control aspect ratio of lock pattern -->
<string name="lock_pattern_view_aspect">square</string>
<!-- @hide DO NOT TRANSLATE. ICU pattern for "Mon, 14 January" -->
<string name="icu_abbrev_wday_month_day_no_year">eeeMMMMd</string>
<string name="icu_abbrev_wday_month_day_no_year">EEEMMMMd</string>
<!-- @hide DO NOT TRANSLATE. date formatting pattern for system ui.-->
<string name="system_ui_date_pattern">@string/icu_abbrev_wday_month_day_no_year</string>
<!-- @hide DO NOT TRANSLATE Spans within this text are applied to style composing regions

View File

@@ -21,5 +21,5 @@
<string name="system_ui_date_pattern" translatable="false">@*android:string/system_ui_date_pattern</string>
<!-- Date format for the always on display. -->
<item type="string" name="system_ui_aod_date_pattern" translatable="false">eeeMMMd</item>
<item type="string" name="system_ui_aod_date_pattern" translatable="false">@*android:string/system_ui_date_pattern</item>
</resources>