<prettysize:display size="${someSize}" />generates outputs like:
"one kilobyte", "2 megabytes", or "3 GB"
The second one, Pretty Time, does this:
<prettytime:display date="${someDate}" />generates timestamps like:
"right now", "2 days ago", or "3 months from now"
For i18n, check the “message.properties” file from the plugin directory.
Thanks to the creative developers in the Grails community! Have fun!
Diese Artikel könnten Sie noch interessieren:
- Perf4J plugin for Grails logs the time A new plugin for Grails is in the oven and...
- Grails Paypal plugin 0.3 released The Grails plugins project has accepted me as a committer....
- I18N-Problem in Grails Wenn man eine mehrsprachenfähige Webanwendung erstellen will, unterstützt Grails recht...
- Grails-Plugin: iCalendar Builder iCalendar ist ein allgemein anerkanntes Format zur Übertragung von Kalender-Ereignissen...
- Make your Grails app show content There is a great way to show content from inside...
Berater, Coach und Trainer für effektive Produktentwicklung