mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Use medium date/time for extended reply header
This commit is contained in:
@@ -427,9 +427,10 @@ public class EntityMessage implements Serializable {
|
||||
boolean language_detection = prefs.getBoolean("language_detection", false);
|
||||
String l = (language_detection ? language : null);
|
||||
|
||||
DateFormat DTF = Helper.getDateTimeInstance(context);
|
||||
|
||||
Element p = document.createElement("p");
|
||||
if (extended) {
|
||||
DateFormat DTF = Helper.getDateTimeInstance(context, SimpleDateFormat.LONG, SimpleDateFormat.LONG);
|
||||
if (from != null && from.length > 0) {
|
||||
Element strong = document.createElement("strong");
|
||||
strong.text(Helper.getString(context, l, R.string.title_from) + " ");
|
||||
@@ -465,10 +466,8 @@ public class EntityMessage implements Serializable {
|
||||
p.appendText(subject);
|
||||
p.appendElement("br");
|
||||
}
|
||||
} else {
|
||||
DateFormat DTF = Helper.getDateTimeInstance(context);
|
||||
} else
|
||||
p.text(DTF.format(new Date(received)) + " " + MessageHelper.formatAddresses(from) + ":");
|
||||
}
|
||||
|
||||
Element div = document.createElement("div")
|
||||
.attr("fairemail", "reply");
|
||||
|
||||
Reference in New Issue
Block a user