This content has been marked as final.
Show 2 replies
-
1. Re: convertDateTime Masks
david.salter May 25, 2009 5:12 PM (in response to quaidbrown)You need to use the pattern attribute to give you this type of formatting. You can then use the
E
attribute to print out the day.e.g.
<h:outputText value="#{item.dueDate}"> <s:convertDateTime pattern="E d MMM" /> </h:outputText>
Would print out (for example):
Wed 27 May
-
2. Re: convertDateTime Masks
david.salter May 25, 2009 5:14 PM (in response to quaidbrown)Plus, if you want the full day (Wednesday) instead of the shortened version (Wed), you would need to replace
E
withEEEE
.