JiriOndrusek commented on code in PR #7247:
URL: https://github.com/apache/camel-quarkus/pull/7247#discussion_r2039124955


##########
integration-tests/beanio/src/main/java/org/apache/camel/quarkus/component/beanio/it/BeanioResource.java:
##########
@@ -50,7 +51,11 @@
 
 @Path("/beanio")
 public class BeanioResource {
-    public static final SimpleDateFormat FORMATTER = new 
SimpleDateFormat("yyyy-MM-dd");
+    public static SimpleDateFormat FORMATTER = new 
SimpleDateFormat("yyyy-MM-dd");
+
+    static {
+        FORMATTER.setTimeZone(TimeZone.getTimeZone("CET"));
+    }

Review Comment:
   I looked into this issue and the culprit is a little bit different.
   It seems, that the problem happens because of daylight saving time.
   On my system the date `10012009` is unmarshaled into `09312009 23:00`
   I moved this date to `11012009` and kept the  timezone CET during parsing to 
get the appropriate dates.
   Lets see if it works correctly also in he CI



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to