From 57752b1aed2e438b7bcd2c4ac685c881b6860305 Mon Sep 17 00:00:00 2001 From: Robert Kolner Date: Sat, 9 Feb 2013 00:20:59 +0100 Subject: [PATCH] Added day to the list of events. --- src/com/studentersamfundet/app/ui/lists/EventListActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/studentersamfundet/app/ui/lists/EventListActivity.java b/src/com/studentersamfundet/app/ui/lists/EventListActivity.java index 371379d..943bfa3 100644 --- a/src/com/studentersamfundet/app/ui/lists/EventListActivity.java +++ b/src/com/studentersamfundet/app/ui/lists/EventListActivity.java @@ -1,6 +1,7 @@ package com.studentersamfundet.app.ui.lists; import java.text.SimpleDateFormat; +import java.util.Locale; import android.app.Dialog; import android.content.Context; @@ -104,7 +105,7 @@ public class EventListActivity extends BaseListActivity { TextView titleView = (TextView) row.findViewById(R.id.event_list_row_text); titleView.setText(Html.fromHtml(e.title)); - SimpleDateFormat dateFormat = new SimpleDateFormat("d. MMMM"); + SimpleDateFormat dateFormat = new SimpleDateFormat("EEEE d. MMMM", Locale.getDefault()); TextView dateView = (TextView) row.findViewById(R.id.event_list_row_date); dateView.setText(dateFormat.format(e.getDate()));