[ 
https://issues.apache.org/jira/browse/TRINIDAD-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661589#action_12661589
 ] 

Martin Fekete commented on TRINIDAD-1349:
-----------------------------------------

i got similar issue with date picker, it was broken date range validation in 
month in which summer/winter time change happens.
when date picker is rendered on server it generates days adding _MILLIS_IN_DAY 
to start of month. but day in which time change happens is 1 hours 
longer/shorter. so this wont work.
submiting patch that fixed my issue.

> InputDate: wrong date-time selected when browser in summer time and server in 
> winter time
> -----------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1349
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1349
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>            Reporter: Yee-Wah Lee
>            Priority: Minor
>
> 1. Create an inputDate with convertDateTime with type="both" so date and time 
> show up. You can also go to the demo (look for "A inputDate with a converter 
> attached from fr_BE locale (has 1-digit display for hours)".
> 2. Run the server in Pacific Time, current date 11 Nov 2008.
> 3. Open a browser on another machine with timezone Western Australia, current 
> time 11 Nov 2008.
> 4. Open the date picker, and pick  a date in summer, e.g. 15 Mar 2008
> The resulting date shows a different day and/or a different time offset. On 
> the demo, I pick 15 Mar and see:
> dimanche 16 mars 2008 5:44
> Previously the value was mardi 16 décembre 2008 21:45, so it should have 
> retained the hours/mins from the previous value (21:45)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to