Added day name to snooze time selector

This commit is contained in:
M66B
2019-01-10 18:29:43 +00:00
parent 373251f535
commit 4f5b02b003
2 changed files with 2 additions and 2 deletions

View File

@@ -1226,7 +1226,7 @@ public class FragmentMessages extends FragmentEx {
long duration = (hours + days * 24) * HOUR_MS;
long time = now + duration;
DateFormat df = SimpleDateFormat.getDateTimeInstance(SimpleDateFormat.MEDIUM, SimpleDateFormat.SHORT);
tvTime.setText(df.format(time));
tvTime.setText(new SimpleDateFormat("E").format(time) + " " + df.format(time));
tvTime.setVisibility(duration == 0 ? View.INVISIBLE : View.VISIBLE);
}
};