diff options
Diffstat (limited to 'packages/SystemUI/src/com/android')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/DateView.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/DateView.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/DateView.java index 640dcca..1d6b3d1 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/DateView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/DateView.java @@ -87,11 +87,8 @@ public class DateView extends TextView { } protected void updateClock() { - final Context context = getContext(); - Date now = new Date(); - CharSequence dow = DateFormat.format("EEEE", now); - CharSequence date = DateFormat.getLongDateFormat(context).format(now); - setText(context.getString(R.string.status_bar_date_formatter, dow, date)); + final String dateFormat = getContext().getString(R.string.abbrev_wday_month_day_no_year); + setText(DateFormat.format(dateFormat, new Date())); } private boolean isVisible() { |