Skip to content

Commit

Permalink
Fix precision
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconsole committed Jan 12, 2025
1 parent 1d1bbaf commit 1e5a04c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1e5a04c

Please sign in to comment.