compile ":joda-time:1.4"Custom repositories :
mavenRepo "http://repo.grails.org/grails/libs-releases/" mavenRepo "http://m2repo.spockframework.org/ext/" mavenRepo "http://m2repo.spockframework.org/snapshots/"
Joda Time integration for Grails
grails install-plugin joda-time
The Joda-Time Plugin integrates the Joda-Time date/time library into Grails. The plugin…
- Bundles the libraries necessary to use Joda Time types as persistent fields on domain classes.
- Provides the ability to bind from form inputs to Joda Time fields on domain or command objects.
- Supports JSON and XML rendering of Joda Time types.
- Provides tag-libs for input and output of Joda Time data.
- Enhances Grails' scaffolding to support domain classes with Joda Time fields.
- Adds compatibility and consistency methods to Joda Time types so that they integrate better with Groovy.