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

Commit fd1dc06b authored by Annie Chin's avatar Annie Chin
Browse files

Use standalone days of the week for dayButton strings.

Bug: 20962263

Previously, we were using just "day of week" ("E"). Standalone ("c")
is actually the correct form.

Change-Id: Ie15ed61c9aee34b7e688e495bc6577a6f0847820
parent c4b8a324
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -82,7 +82,7 @@ public class Utils {


    // Single-char version of day name, e.g.: 'S', 'M', 'T', 'W', 'T', 'F', 'S'
    // Single-char version of day name, e.g.: 'S', 'M', 'T', 'W', 'T', 'F', 'S'
    private static String[] sShortWeekdays = null;
    private static String[] sShortWeekdays = null;
    private static final String DATE_FORMAT_SHORT = isJBMR2OrLater() ? "EEEEE" : "EEE";
    private static final String DATE_FORMAT_SHORT = isJBMR2OrLater() ? "ccccc" : "ccc";


    // Long-version of day name, e.g.: 'Sunday', 'Monday', 'Tuesday', etc
    // Long-version of day name, e.g.: 'Sunday', 'Monday', 'Tuesday', etc
    private static String[] sLongWeekdays = null;
    private static String[] sLongWeekdays = null;