Prepares release 1.8.7.1
This commit is contained in:
parent
af17b084b6
commit
84a6e4b708
|
@ -7,8 +7,8 @@ android {
|
|||
applicationId "fr.gouv.etalab.mastodon"
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 27
|
||||
versionCode 119
|
||||
versionName "1.8.7"
|
||||
versionCode 120
|
||||
versionName "1.8.7.1"
|
||||
}
|
||||
flavorDimensions "default"
|
||||
buildTypes {
|
||||
|
|
|
@ -746,7 +746,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
else
|
||||
holder.status_reblog_count.setText(String.valueOf(status.getReblog().getReblogs_count()));
|
||||
}
|
||||
if( type == RetrieveFeedsAsyncTask.Type.CONTEXT) {
|
||||
if( getItemViewType(position) == FOCUSED_STATUS) {
|
||||
String fullDate_tmp = Helper.dateDiffFull(status.getCreated_at());
|
||||
String fullDate = fullDate_tmp.substring(0,1).toUpperCase() + fullDate_tmp.substring(1);
|
||||
holder.status_toot_date.setText(fullDate);
|
||||
|
|
|
@ -609,7 +609,7 @@ public class Helper {
|
|||
|
||||
|
||||
public static String dateDiffFull(Date dateToot){
|
||||
SimpleDateFormat df = (SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.MEDIUM, Locale.getDefault());
|
||||
SimpleDateFormat df = (SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.MEDIUM, Locale.getDefault());
|
||||
return df.format(dateToot);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue