Set the timezone when retrieving the min/max values for date reports

XMLWordPrintable

    • Type: Task
    • Resolution: Won't Do
    • Priority: L3 - Default
    • 3.2.0-alpha2, 3.2.0
    • Affects Version/s: None
    • Component/s: backend
    • None
    • Not defined

      Context:
      With OPT-3833, we adjust the date results of a report to the timezone provided by the user. However, there are some code parts where the timezone is not used at first but then, later on, it's converted to the correct time. That makes the usage of some methods susceptible to errors because the developer has to know that the date needs to be converted to the correct timezone. Instead, we should make sure that the date is converted to the timezone immediately. For the details, see: https://github.com/camunda/camunda-optimize/pull/2318#discussion_r451478089

      AT:

      • the timezone is being set for the min/max stats

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: