Fix date format
This commit is contained in:
parent
5a869dfaee
commit
307d36fda1
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ public class MapMarkersListAdapter extends RecyclerView.Adapter<MapMarkerItemVie
|
|||
if (month.length() > 1) {
|
||||
month = Character.toUpperCase(month.charAt(0)) + month.substring(1);
|
||||
}
|
||||
String day = new SimpleDateFormat("dd", Locale.getDefault()).format(date);
|
||||
String day = new SimpleDateFormat("d", Locale.getDefault()).format(date);
|
||||
descr = month + " " + day;
|
||||
}
|
||||
holder.description.setText(descr);
|
||||
|
|
Loading…
Reference in a new issue