I have datetime in my DB. When I try to display it, the "hour" is wrong (6 hours more).
DB 2013-03-12 10:05:49
Display 2013/03/12 16:05:49
I'm using primefaces and this is the code:
<p:column id="fecha" headerText="Fecha" style="text-align: center">
<h:outputText value="#{con.fecha}" >
<f:convertDateTime pattern="yyyy/MM/dd HH:mm:ss" />
</h:outputText>
</p:column>
I tried to use the pattern HH
, but it doesn't seem to work.