Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use pretty-time in Grails Services? #7

Open
confile opened this issue Jun 19, 2013 · 2 comments
Open

How can I use pretty-time in Grails Services? #7

confile opened this issue Jun 19, 2013 · 2 comments

Comments

@confile
Copy link

confile commented Jun 19, 2013

How can I use pretty-time in Grails Services?

@nixilla
Copy link
Contributor

nixilla commented Jun 19, 2013

Well, this plugin provides taglib, which is meant to be used in View layer. So I strongly recommend not to use it anywhere else.

But if you must to, you can use org.ocpsoft.prettytime.PrettyTime class directly.

@cazacugmihai
Copy link
Owner

Look at PrettyTimeTagLib class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants