1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-07 15:06:44 +00:00

Fixed $date$ placeholder

This commit is contained in:
M66B 2022-09-13 19:28:51 +02:00
parent d9900ae52b
commit b57bc2c89f

View file

@ -200,7 +200,7 @@ public class EntityAnswer implements Serializable {
if (c != null) {
v = Html.escapeHtml(SimpleDateFormat.getDateInstance(SimpleDateFormat.LONG).format(c.getTime()));
text = text.substring(0, s) + v + text.substring(e);
text = text.substring(0, s) + v + text.substring(e + 1);
s = text.indexOf("$date", s + v.length());
}
}