Skip to content

Commit 9f99635

Browse files
committed
fix for java.sql.Date throwing an exception
1 parent 44ee7d6 commit 9f99635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-fields/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,11 +951,11 @@ class FormFieldsTagLib {
951951
g.formatBoolean(boolean: model.value)
952952
break
953953
case LocalDate:
954+
case java.sql.Date:
954955
g.formatDate(date: model.value, format: 'yyyy-MM-dd')
955956
break
956957
case Calendar:
957958
case Date:
958-
case java.sql.Date:
959959
case java.sql.Time:
960960
case LocalDateTime:
961961
case Instant:

0 commit comments

Comments
 (0)