Wicket
  1. Wicket
  2. WICKET-1314

DateTimeField does not correct the timezone properly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

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

        Activity

        Ryan Gravener created issue -
        Ryan Gravener made changes -
        Field Original Value New Value
        Attachment dtf.patch [ 12374421 ]
        Eelco Hillenius made changes -
        Fix Version/s 1.3.2 [ 12312942 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ryan Gravener made changes -
        Fix Version/s 1.4-M4 [ 12313295 ]
        Fix Version/s 1.3.2 [ 12312942 ]
        Fix Version/s 1.3.4 [ 12313089 ]
        Affects Version/s 1.3.4 [ 12313089 ]
        Affects Version/s 1.4-M3 [ 12312912 ]
        Affects Version/s 1.3.0-final [ 12312515 ]
        Ryan Gravener made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ryan Gravener made changes -
        Attachment DATETIMEFIELD.TXT [ 12392203 ]
        Martijn Dashorst made changes -
        Fix Version/s 1.3.4 [ 12313089 ]
        Fix Version/s 1.3.6 [ 12313176 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.4-RC2 [ 12313495 ]
        Fix Version/s 1.4-RC1 [ 12313295 ]
        Juergen Donnerstag made changes -
        Assignee Juergen Donnerstag [ jdonnerstag ]
        Fix Version/s 1.3.6 [ 12313176 ]
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development