You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "liunaijie (via GitHub)" <gi...@apache.org> on 2023/09/11 06:28:47 UTC

[GitHub] [seatunnel] liunaijie commented on a diff in pull request #5458: [Improve][Format] [Json] Datetime format deserialization supports custom datetime format and remove the redundant TIME FORMAT

liunaijie commented on code in PR #5458:
URL: https://github.com/apache/seatunnel/pull/5458#discussion_r1321049390


##########
seatunnel-formats/seatunnel-format-json/src/main/java/org/apache/seatunnel/format/json/TimeFormat.java:
##########
@@ -29,4 +35,19 @@ public class TimeFormat {
                     .appendPattern("HH:mm:ss")
                     .appendFraction(ChronoField.NANO_OF_SECOND, 0, MAX_TIME_PRECISION, true)
                     .toFormatter();
+    public static final DateTimeFormatter CUSTOM_DATE_TIME_FORMAT =

Review Comment:
   this format still is fixed, can't be customized.



-- 
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-unsubscribe@seatunnel.apache.org

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