Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 848ccfd3 authored by Stefan Niedermann's avatar Stefan Niedermann
Browse files

Show relative modified Date on ListView

parent 5ba881c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ public class NoteAdapter extends ArrayAdapter<Note> {

			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