diff --git a/app/src/main/java/it/niedermann/owncloud/notes/model/NoteAdapter.java b/app/src/main/java/it/niedermann/owncloud/notes/model/NoteAdapter.java index 86a1f451..bb87cb33 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/model/NoteAdapter.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/model/NoteAdapter.java @@ -55,7 +55,7 @@ public class NoteAdapter extends ArrayAdapter { noteTitle.setText(note.getTitle()); noteExcerpt.setText(note.getExcerpt()); - noteModified.setText(DateUtils.getRelativeTimeSpanString(getContext(), note.getModified().getTimeInMillis())); + noteModified.setText(DateUtils.getRelativeDateTimeString(getContext(), note.getModified().getTimeInMillis(), DateUtils.MINUTE_IN_MILLIS, DateUtils.WEEK_IN_MILLIS, 0)); } // the view must be returned to our activity