grails - Joda timeField taglib formatting -



grails - Joda timeField taglib formatting -

using: joda-time grails plugin. using: datetime in domain object.

how time component without milliseconds in gsp input field?

using this:

<joda:timefield type="date" name="time" value="${mydate}" />

i example: 17:00:00.000

where have: 17:00

<joda:time value="${mydate}"> <joda:format value="${it}" pattern="hh:mm"/> </joda:time>

<joda:time> , <joda:format> can used above.

grails jodatime

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -