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
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.3 Beta [ 10373 ] |
Assignee | Steve Maryka [ steve.maryka ] | Judy Guglielmin [ judy.guglielmin ] |
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> |
Fix Version/s | 1.4 Beta [ 10874 ] | |
Fix Version/s | 1.3 Beta [ 10373 ] |
Assignee | Judy Guglielmin [ judy.guglielmin ] | Steve Maryka [ steve.maryka ] |