This content has been marked as final.
Show 3 replies
-
1. Re: seams currentDatetime not work..
stefanotravelli Feb 5, 2009 12:14 PM (in response to nimo22)<h:outputText value="#{currentDatetime}"> <s:convertDateTime dateStyle="long"/> </h:outputText>
-
2. Re: seams currentDatetime not work..
nimo22 Feb 5, 2009 8:09 PM (in response to nimo22)However, using
s:convertDateTime
does NOT show me the full date:
<h:outputText value="#{currentDatetime}"> <s:convertDateTime dateStyle="full"/> </h:outputText>
Using f:convertDateTime shows me this:5. Februar 2009 20:09
<h:outputLabel value="#{currentDatetime}" > <f:convertDateTime type="both" dateStyle="long"/> </h:outputLabel>
but I need the seconds, too.
And I cannot use a pattern as I need the local-conversion.
Why no seconds are shown?
Any Ideas?
-
3. Re: seams currentDatetime not work..
nicolas.bielza Feb 5, 2009 8:22 PM (in response to nimo22)<s:convertDateTime type="both" dateStyle="medium" />