From b92a912e7df3a6bef54541e57e285f6d92686327 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sun, 15 Dec 2024 15:24:09 +0000 Subject: [PATCH] Adjust some more for JDK 23/24 There are more date-formats which need to be defined manually for the German locale now to work without the COMPAT locale provider in JDK 23+ git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922518 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/poi/hslf/util/LocaleDateFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/util/LocaleDateFormat.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/util/LocaleDateFormat.java index f46c145f15..90c04a8c40 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/util/LocaleDateFormat.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/util/LocaleDateFormat.java @@ -59,7 +59,7 @@ public final class LocaleDateFormat { VI_VN(LocaleID.VI_VN, 0, 1, 2, 3, 5, 6, 10, 11, 12, 13, 14, 15, 16), HI_IN(LocaleID.HI_IN, 1, 2, 3, 5, 7, 11, 13, 0, 1, 5, 10, 11, 14), SYR_SY(LocaleID.SYR_SY, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), - DE_DE(LocaleID.DE_DE, "dd.MM.yyyy", 1, 3, 2, 5, 9, 10, 11, 12, 15, 16, 13, 14, 4, 6, 7, 8), + DE_DE(LocaleID.DE_DE, "dd.MM.yyyy", "EEEE, d. MMM yyyy", 3, 2, 5, 9, 10, "dd.MM.yy HH:mm", "dd.MM.yy HH:mm:ss", 15, 16, 13, 14, 4, 6, 7, 8), NO_MAP(LocaleID.INVALID_O, 0, 1, 3, 2, 5, 9, 10, 11, 12, 15, 16, 13, 14, 4, 6, 7, 8) ;