1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Revert "Short date format"

This reverts commit 64ec995c71.
This commit is contained in:
M66B 2024-02-26 06:55:03 +01:00
parent 5e6bcb52b8
commit b74cb1bae7

View file

@ -2274,7 +2274,7 @@ public class Helper {
try { try {
if (condensed && thisYear && thisMonth && thisDay) if (condensed && thisYear && thisMonth && thisDay)
return getTimeInstance(context, SimpleDateFormat.SHORT).format(millis); 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) { if (withTime) {
boolean is24Hour = android.text.format.DateFormat.is24HourFormat(context); boolean is24Hour = android.text.format.DateFormat.is24HourFormat(context);
skeleton += (is24Hour ? " Hm" : " hm"); skeleton += (is24Hour ? " Hm" : " hm");