Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1851

Ensure time zone defaults to system default

    XMLWordPrintable

Details

    • Task
    • Status: Done
    • L3 - Default
    • Resolution: Fixed
    • None
    • 2.4.0-alpha2, 2.4.0
    • backend
    • None

    Description

      AT:

      • AbstractProcessInstanceDurationGroupByStartDateCommand returns system default compliant date histogram buckets instead of UTC buckets
      • no explicit UTC usage in any dateHistrogram related tests
      • use default timezone also when creating histogram buckets not only when formatting the result (to avoid +1 hour workarounds when formatting expected dates in tests)

      Notes:
      Right now, we have several tests where we set the time zone to UTC, which does not makes sense and is hard to understand, e.g.:
      OffsetDateTime.now().withOffsetSameInstant(ZoneOffset.UTC)
      see here
      considering we do that in ProcessInstanceDuration* related tests but for instance not in tests for CountProcessInstanceFrequency*.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                johannes.heinemann Johannes
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce