Merge pull request #2146 from nextcloud/fix2141

Fix time display in activities list
This commit is contained in:
Andy Scherzinger 2018-02-12 12:01:51 +01:00 committed by GitHub
commit a0273ced28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,7 @@ public class ActivityListAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
Activity activity = (Activity) mValues.get(position);
if (activity.getDatetime() != null) {
activityViewHolder.dateTime.setVisibility(View.VISIBLE);
activityViewHolder.dateTime.setText(DateFormat.format("HH:MM", activity.getDatetime().getTime()));
activityViewHolder.dateTime.setText(DateFormat.format("HH:mm", activity.getDatetime().getTime()));
} else {
activityViewHolder.dateTime.setVisibility(View.GONE);
}