JSF defaults to UTC timezone for date/time converters. To override this you need to set the timeZone
attribute in every date/time converter. Here's an example using EDT timezone (assuming you're on the east of US).
<f:convertDateTime locale="en_US" type="both" dateStyle="short" timeZone="EDT" />
The locale
attribute only controls the full day/month name formatting (it becomes English).
If you want to override the default UTC timezone to be the operating platform default timezone, then you need to add the following context param to web.xml
:
<context-param>
<param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
<param-value>true</param-value>
</context-param>
Then you don't need to edit every individual JSF <f:convertXxx>
tag.