1
I’m listing dates using convertDateTime
, the problem is this way it always presents the day before what is being read database. Without the convertDateTime
it presented the correct date.
<h:outputText value="#{item.dataperf}">
<f:convertDateTime pattern="dd/MM/yyyy" tipe="date"/>
</h:outputText>
It won’t be a time zone problem? See this response on Soen
– lazyFox
https://stackoverflow.com/questions/12351244/jsf-convertdatetime-renders-the-previous-day Give a read on this topic here man. I believe it will be useful for you.
– Rodrigo Nantes
Boas Lazyfox and Rodrigo Nantes. Thanks for your help, I found in the suggested link the solution.
– Eduardo Mucaji