You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2025/03/30 18:15:04 UTC
(jackrabbit-filevault) branch bugfix/JCRVLT-800 created (now 3ff2f442)
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a change to branch bugfix/JCRVLT-800
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git
at 3ff2f442 JCRVLT-800: Fix "Unsupported Field: Year" during emitting version
This branch includes the following new commits:
new 3ff2f442 JCRVLT-800: Fix "Unsupported Field: Year" during emitting version
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(jackrabbit-filevault) 01/01: JCRVLT-800: Fix "Unsupported Field: Year" during emitting version
Posted by kw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch bugfix/JCRVLT-800
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git
commit 3ff2f4428b2dedc721eb8a2f9987ef3858ab81bf
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sun Mar 30 20:14:16 2025 +0200
JCRVLT-800: Fix "Unsupported Field: Year" during emitting version
---
.../org/apache/jackrabbit/vault/util/console/AbstractApplication.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vault-cli/src/main/java/org/apache/jackrabbit/vault/util/console/AbstractApplication.java b/vault-cli/src/main/java/org/apache/jackrabbit/vault/util/console/AbstractApplication.java
index fab04ff2..6a6acd0f 100644
--- a/vault-cli/src/main/java/org/apache/jackrabbit/vault/util/console/AbstractApplication.java
+++ b/vault-cli/src/main/java/org/apache/jackrabbit/vault/util/console/AbstractApplication.java
@@ -21,6 +21,7 @@ import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.time.Instant;
+import java.time.ZoneOffset;
import java.time.temporal.ChronoField;
import java.util.Iterator;
import java.util.Properties;
@@ -81,7 +82,7 @@ public abstract class AbstractApplication {
}
public String getCopyrightLine() {
- return "copyright 2013-" + Instant.now().get(ChronoField.YEAR) +" by Apache Software Foundation. See LICENSE.txt for more information.";
+ return "copyright 2013-" + Instant.now().atOffset(ZoneOffset.UTC).get(ChronoField.YEAR) +" by Apache Software Foundation. See LICENSE.txt for more information.";
}
public String getVersionString() {