This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/camel-main by this push: new ccdb6b6954 fix of dataformat for Etc/UTC ccdb6b6954 is described below commit ccdb6b69541278e8c0d82ee1efbc8f168cb71f0a Author: JiriOndrusek <ondrusek.j...@gmail.com> AuthorDate: Fri Jun 21 13:50:54 2024 +0200 fix of dataformat for Etc/UTC --- .../apache/camel/quarkus/component/dataformat/it/DataformatTest.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/integration-tests/dataformat/src/test/java/org/apache/camel/quarkus/component/dataformat/it/DataformatTest.java b/integration-tests/dataformat/src/test/java/org/apache/camel/quarkus/component/dataformat/it/DataformatTest.java index f2cf856cba..c249c5fb9b 100644 --- a/integration-tests/dataformat/src/test/java/org/apache/camel/quarkus/component/dataformat/it/DataformatTest.java +++ b/integration-tests/dataformat/src/test/java/org/apache/camel/quarkus/component/dataformat/it/DataformatTest.java @@ -99,9 +99,6 @@ class DataformatTest { static String toFormatedLocalDateTime(ZonedDateTime zonedDateTime) { String result = zonedDateTime.format(DateTimeFormatter.ofPattern("yyyyMMdd'T'hhmmss")); - if (zonedDateTime.getZone().getId().equals("Etc/UTC")) { - result += "Z"; - } return result; }