Details
Description
The timeZone attribute on the DateSpinner and TimeSpinner has no effect. The timeZone can be changed on the component with no change to the bound date object, which appears to always use the default server time zone.
The use of this attribute is also confusing as the component is used with the <f:convertDateTime/> tag, which has its own timeZone attribute:
<mobi:dateSpinner useNative="true" id="date"
value="#{dateBean.dateInput}"
timeZone="#{dateBean.timeZone}">
<f:convertDateTime type="date" pattern="yyyy-MM-dd" timeZone="#{dateBean.timeZone}"/>
</mobi:dateSpinner>
The use of this attribute is also confusing as the component is used with the <f:convertDateTime/> tag, which has its own timeZone attribute:
<mobi:dateSpinner useNative="true" id="date"
value="#{dateBean.dateInput}"
timeZone="#{dateBean.timeZone}">
<f:convertDateTime type="date" pattern="yyyy-MM-dd" timeZone="#{dateBean.timeZone}"/>
</mobi:dateSpinner>
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Philip Breau
created issue -
Philip Breau
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.3 Beta [ 10373 ] |
Philip Breau
made changes -
Assignee | Steve Maryka [ steve.maryka ] | Judy Guglielmin [ judy.guglielmin ] |
Philip Breau
made changes -
Description |
The timeZone attribute on the DateSpinner and TimeSpinner has no effect. The timeZone can be changed on the component with no change to the bound date object, which appears to always use the default server time zone.
The use of this attribute is also confusing as the component is used with the <f:convertDateTime/> tag, which has its own timeZone attribute: <mobi:dateSpinner useNative="true" id="date" value="#{dateBean.dateInput}" timeZone="#{dateBean.timeZone}"> <f:convertDateTime type="date" pattern="yyyy-MM-dd" timeZone="#{dateBean.timeZone}"/> </mobi:dateSpinner> |
The timeZone attribute on the DateSpinner and TimeSpinner has no effect. The timeZone can be changed on the component with no change to the bound date object, which appears to always use the default server time zone.
The use of this attribute is also confusing as the component is used with the <f:convertDateTime/> tag, which has its own timeZone attribute: <mobi:dateSpinner useNative="true" id="date" value="#{dateBean.dateInput}" timeZone="#{dateBean.timeZone}"> <f:convertDateTime type="date" pattern="yyyy-MM-dd" timeZone="#{dateBean.timeZone}"/> </mobi:dateSpinner> |
Judy Guglielmin
made changes -
Fix Version/s | 1.4 Beta [ 10874 ] | |
Fix Version/s | 1.3 Beta [ 10373 ] |
Judy Guglielmin
made changes -
Assignee | Judy Guglielmin [ judy.guglielmin ] | Steve Maryka [ steve.maryka ] |