mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +00:00
parent
5e6bcb52b8
commit
b74cb1bae7
1 changed files with 1 additions and 1 deletions
|
@ -2274,7 +2274,7 @@ public class Helper {
|
|||
try {
|
||||
if (condensed && thisYear && thisMonth && thisDay)
|
||||
return getTimeInstance(context, SimpleDateFormat.SHORT).format(millis);
|
||||
String skeleton = (thisYear ? "M-d" : "yyyy-M-d");
|
||||
String skeleton = (thisYear ? "MMM-d" : "yyyy-M-d");
|
||||
if (withTime) {
|
||||
boolean is24Hour = android.text.format.DateFormat.is24HourFormat(context);
|
||||
skeleton += (is24Hour ? " Hm" : " hm");
|
||||
|
|
Loading…
Reference in a new issue