Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1314

DateTimeField does not correct the timezone properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.4, 1.4-M3
    • 1.4-RC2
    • wicket-datetime
    • None

    Description

      The DateTimeField has a DateTextField which uses a styledateconverter with timezone correction set to true which is not needed since the DateTimeField accounts for the TimeZone correction. Another problem is that the DateTimeField only sets the timezone of the date (from local->client), causing the date to be corrected to the local time. This should instead cause the local time to reflect that of the clients time.

      Attachments

        1. DATETIMEFIELD.TXT
          2 kB
          Ryan Gravener
        2. dtf.patch
          2 kB
          Ryan Gravener

        Activity

          People

            jdonnerstag Juegen Donnerstag
            rgravener Ryan Gravener
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: