Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Passing timezone to datechooser webinput component
posted

I am trying to use the datechooser component making it timezone sensitive. How to pass the timezone to the datechooser component ? I am able to pass locale but not the timezone component. Below is my code - pls tell me how to pass timezone to the component.

I tried something like this but it cannot convert PST to a valid Timezone. Pls guide me urgently.

<ig:dateChooser id="investigationRecoveryDateChooser1"
       buttonStyleClass="dcCalendarButton" tooltip="Recovery date"
       value="#{investigationRecoveryBean.recoveryDate}"
       textbox-StyleClass="ficCalendarTextbox"
       editMasks="#{systemDateFormatSupplier.systemConfiguredDateFormat}"
       locale="#{userPersonalizationBean.locale}"
       timeZone="PST"
       >

 

Pls note that I am using it in the JSF page with Java backend - so the suggested solution should be Java compatible