I have a primefaces datatable that renders some date values on its columns. This columns are being shown using:
<h:outputText value="#{token.callDate}">
<f:convertDateTime pattern="dd-MMM-yyyy HH:mm"
timeZone = "America/New_York"/>
</h:outputText>
So, the expected behaviour would be: if i have a date "24-Feb-2016 22:55:00" the rendered value has to be "24-Feb-2016 17:55:00", however the rendered date remains the same "24-Feb-2016 22:55:00".
The Server Time Zone is "America/Mexico_City".
Am I doing something wrong?, is there something missing?, is the 'f:convertDateTime' is not capable of such functionality? Any ideas would be highly appreciated.