1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-15 00:21:10 +00:00

Added fail-safe

This commit is contained in:
M66B 2022-10-01 09:13:05 +02:00
parent 4ee088d744
commit ec8cb9c656

View file

@ -495,7 +495,7 @@ public class EntityMessage implements Serializable {
DateFormat DTF = Helper.getDateTimeInstance(context);
DTF.setTimeZone(hide_timezone ? TimeZone.getTimeZone("UTC") : TimeZone.getDefault());
String date = DTF.format(received);
String date = (received instanceof Number ? DTF.format(received) : "-");
Element p = document.createElement("p");
if (extended) {