diff options
author | Michael Kaiser <patheticpat@googlemail.com> | 2012-10-23 15:24:09 +0200 |
---|---|---|
committer | Michael Kaiser <patheticpat@googlemail.com> | 2012-10-23 15:55:41 +0200 |
commit | 39eeadad20d2fd70d38de5ffdffdc750c56e6042 (patch) | |
tree | 3db4f3ecda85302dfc7d80ec6c0e20eff44fb115 /src/de/danoeh/antennapod/adapter | |
parent | 37e58f8b8ac0a1a93d19b8a9df8ddedb2c8083ce (diff) | |
download | AntennaPod-39eeadad20d2fd70d38de5ffdffdc750c56e6042.zip |
Use DateFormat.MEDIUM for dates
Diffstat (limited to 'src/de/danoeh/antennapod/adapter')
-rw-r--r-- | src/de/danoeh/antennapod/adapter/FeedItemlistAdapter.java | 2 | ||||
-rw-r--r-- | src/de/danoeh/antennapod/adapter/FeedlistAdapter.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/de/danoeh/antennapod/adapter/FeedItemlistAdapter.java b/src/de/danoeh/antennapod/adapter/FeedItemlistAdapter.java index 5cbe3075f..5a1da7ef5 100644 --- a/src/de/danoeh/antennapod/adapter/FeedItemlistAdapter.java +++ b/src/de/danoeh/antennapod/adapter/FeedItemlistAdapter.java @@ -109,7 +109,7 @@ public class FeedItemlistAdapter extends ArrayAdapter<FeedItem> { holder.published.setText(convertView.getResources().getString( R.string.published_prefix) + DateUtils.formatSameDayTime(item.getPubDate().getTime(), - System.currentTimeMillis(), DateFormat.SHORT, + System.currentTimeMillis(), DateFormat.MEDIUM, DateFormat.SHORT)); if (item.getMedia() == null) { diff --git a/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java b/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java index be233b554..2a5c449b1 100644 --- a/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java +++ b/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java @@ -80,7 +80,7 @@ public class FeedlistAdapter extends ArrayAdapter<Feed> { R.string.last_update_prefix) + DateUtils.formatSameDayTime(feed.getLastUpdate() .getTime(), System.currentTimeMillis(), - DateFormat.SHORT, DateFormat.SHORT)); + DateFormat.MEDIUM, DateFormat.SHORT)); } holder.numberOfEpisodes.setText(feed.getNumOfItems() + convertView.getResources() |