From 1e5a04caf8316948ddffe9a10e04a6e071d43132 Mon Sep 17 00:00:00 2001 From: Scott Murphy Heiberg Date: Sun, 12 Jan 2025 11:43:09 -0800 Subject: [PATCH] Fix precision --- .../taglib/grails/plugin/formfields/FormFieldsTagLib.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy b/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy index c257a3c9..ec80122f 100644 --- a/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy +++ b/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy @@ -728,7 +728,7 @@ class FormFieldsTagLib { CharSequence renderDateTimeInput(Map model, Map attrs) { - attrs.precision = (model.type == java.sql.Time || java.time.LocalDate)? "minute" : "day" + attrs.precision = (model.type == java.sql.Time || LocalDateTime)? "minute" : "day" if (!model.required) { attrs.noSelection = ["": ""] attrs.default = "none"