The problem is that events on my local development machine appear in the correct day in the schedule component. If I access the schedule component on the production server all events are one day earlier displayed.
Can't get way?
![Sad :(](./images/smilies/icon_e_sad.gif)
Code: Select all
<context-param>
<param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
<param-value>true</param-value>
</context-param>
Code: Select all
<context-param>
<param-name>FIXED_LOCAL_TIMEZONE</param-name>
<param-value>GMT+08:00</param-value>
</context-param>
Code: Select all
timezone="#{myGlobalBean.localTimeZone}"
Code: Select all
public String getLocalTimeZone()
{
return FacesContext.getCurrentInstance().getExternalContext().getInitParameter( "FIXED_LOCAL_TIMEZONE" );
}
Users browsing this forum: No registered users and 22 guests