myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yee-Wah Lee (JIRA)" <>
Subject [jira] Created: (TRINIDAD-1920) DateTimeRangevalidator fails across multiple timezones
Date Tue, 21 Sep 2010 21:17:37 GMT
DateTimeRangevalidator fails across multiple timezones

                 Key: TRINIDAD-1920
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.2.13-core 
            Reporter: Yee-Wah Lee
            Priority: Minor

This is a regression from TRINIDAD-1818 where the DateTimeRangeValidator was created with

Because the Javascript client is not able to correctly calculate timezone offsets for different
timezones, it should take the min/max as a String and convert that into a Date. The converted
value would have the same offset as the value, and validation would be all on objects with
the same timezone offset. 

Fix is to revert to using Strings, but also pass the date as an ISO string when the converter
pattern is insufficient. 

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

View raw message