[jboss-user] [JBoss Seam] - JBoss EL date formatting

manuel.martin do-not-reply at jboss.com
Tue Nov 27 07:36:56 EST 2007

Supose that I got a localized message like that

message = My date is #{myDate}

and myDate is a session Date var.

When I print the message #{messages['message']} I got the next output:

My date is 2007-11-27 12:22:46.338

Is there any method to format the output of the date? I  would like obtain

My date is 2007-11-27.

Thanks in advance!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108035#4108035

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108035

More information about the jboss-user mailing list