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

DateTimeField does not correct the timezone properly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.4, 1.4-M3
    • Fix Version/s: 1.4-RC2
    • Component/s: wicket-datetime
    • Labels:
      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. dtf.patch
          2 kB
          Ryan Gravener
        2. DATETIMEFIELD.TXT
          2 kB
          Ryan Gravener

          Activity

            People

            • Assignee:
              jdonnerstag Juergen Donnerstag
              Reporter:
              rgravener Ryan Gravener
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: