jonnybot0 commented on code in PR #196:
URL: https://github.com/apache/groovy-geb/pull/196#discussion_r1866620334


##########
module/geb-core/src/main/groovy/geb/module/DateTimeLocalInput.groovy:
##########
@@ -15,18 +15,44 @@
  */
 package geb.module
 
+import groovy.util.logging.Slf4j
+
 import java.time.LocalDateTime
+import java.time.format.DateTimeFormatter
+import java.time.format.DateTimeFormatterBuilder
+
+import static java.time.temporal.ChronoField.*
 
+@Slf4j
 class DateTimeLocalInput extends AbstractInput {
 
+    /* codenarc-disable */
+    private static final DateTimeFormatter DATE_TIME_FORMAT = new 
DateTimeFormatterBuilder()

Review Comment:
   I was generally surprised that I could not find a pre-built formatter that 
matched this format, but the source of `java.time.format.DateTimeFormatter` 
certainly didn't have any.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to