P: calendar PrimeFaces Day Date Previous

1

Has anyone ever had a problem with p: calendar returning the date as being from the previous day at 11pm? You select the date and when to send it captures as of the previous day at 11pm.

Any solution? In View:

< p:calendar id="dataInicio" pattern="dd/MM/yyyy" mask="99/99/9999" size="15" maxlength="10" navigator="true" locale="pt" value="#{gerenciaNfeBean.filter.dataInicio}" effect="show">
< f:convertDateTime pattern="dd/MM/yyyy" timeZone="America/Sao_Paulo" locale="pt_BR" />

Model:

protected Date dataInicio;

Web.XML

< context-param>
< param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE
< param-value > true </ param-value >
    </ context-param>
    
asked by anonymous 26.01.2017 / 15:18

0 answers