Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-1846

Jackson does not use proper TimeZone to deserialize a given date

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.1.0
    • None
    • cockpit, engine
    • None

      • if you query after historic process instance like the following example:

      POST /history/process-instance

      Request Body:

      { "startedAfter": "2014-02-11T14:00:00" }

      Jackson deserialize the given date (ie. "startedAfter") to the following date:

      Tue Feb 11 15:00:00 CET 2014

      This occurs in the REST Api and in cockpit.

        This is the controller panel for Smart Panels app

            [CAM-1846] Jackson does not use proper TimeZone to deserialize a given date

            Danny added a comment -

            this isn't a bug, see http://wiki.fasterxml.com/JacksonFAQDateHandling

            each date string without an explicit time zone is converted to GMT, i.e.
            2014-02-11T14:00:00 = Tue Feb 11 15:00:00 CET 2014
            2014-05-11T14:00:00 = Wed May 11 16:00:00 CET 2014

            Danny added a comment - this isn't a bug, see http://wiki.fasterxml.com/JacksonFAQDateHandling each date string without an explicit time zone is converted to GMT, i.e. 2014-02-11T14:00:00 = Tue Feb 11 15:00:00 CET 2014 2014-05-11T14:00:00 = Wed May 11 16:00:00 CET 2014

              smirnov Roman Smirnov
              roman.smirnov Roman Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: