Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83f4bc39 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

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
(cherry picked from commit 18bd4243)
parent d8c6c356
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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>