From b673cf4e1b7a9decdba0c1af6045f9a33b58929f Mon Sep 17 00:00:00 2001 From: "patrick.pdb" Date: Tue, 12 Sep 2023 08:41:08 -0400 Subject: [PATCH] '#1868 Calls date.get(Calendar.HOUR_OF_DAY) to force internal Calendar fields computation. --- iped-engine/src/main/java/iped/engine/tika/SyncMetadata.java | 1 + pom.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iped-engine/src/main/java/iped/engine/tika/SyncMetadata.java b/iped-engine/src/main/java/iped/engine/tika/SyncMetadata.java index 5179fa6953..0ac5eb8a15 100644 --- a/iped-engine/src/main/java/iped/engine/tika/SyncMetadata.java +++ b/iped-engine/src/main/java/iped/engine/tika/SyncMetadata.java @@ -174,6 +174,7 @@ public synchronized void set(Property property, Date date) { @Override public synchronized void set(Property property, Calendar date) { checkReadOnly(); + date.get(Calendar.HOUR_OF_DAY); super.set(property, date); } diff --git a/pom.xml b/pom.xml index c8454c5521..6bfc66e12a 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ ${basedir}/resources/plugins - 2.4.0 + 2.4.0 2.4.0-p1 2.0.27 9.2.0