From 5706835e422337d728fb0f6caf2d6d3947007db5 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 27 Apr 2021 14:11:34 +0200 Subject: [PATCH] Locale for language --- app/src/main/java/eu/faircode/email/EntityMessage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/EntityMessage.java b/app/src/main/java/eu/faircode/email/EntityMessage.java index 61f2ef5517..b99aaf55a1 100644 --- a/app/src/main/java/eu/faircode/email/EntityMessage.java +++ b/app/src/main/java/eu/faircode/email/EntityMessage.java @@ -323,7 +323,7 @@ public class EntityMessage implements Serializable { boolean language_detection = prefs.getBoolean("language_detection", false); String l = (language_detection ? language : null); - DateFormat DF = Helper.getDateTimeInstance(context, l == null ? null : new Locale(l)); + DateFormat DF = Helper.getDateTimeInstance(context); Element p = document.createElement("p"); if (extended) {