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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to