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:
parent
4ee088d744
commit
ec8cb9c656
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue