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

Dates are not formatted in group by start date reports

    Details

    • Type: Bug Report
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-alpha1, 2.2.0
    • Component/s: frontend
    • Labels:
      None

      Description

      Reproduce:

      • create a report with the following configuration:
        • View: Count Process Instance Frequency
        • Group by: Start Date of Process Instance - Month
        • Visualize as: Table

      Expected:

      • Start Date of Process Instance is formatted and displays for example Jul 2018, Jun 2018, ...

      Observed:

      • Start Date of Process Instance displays the raw data string 2018-07-01T00:00:00.000+0000
      • Same applies to other visualizations

        Activity

        Hide
        sebastian.stamm Sebastian Stamm added a comment -

        I don't think we should display the date in UTC there. In all other places we use the local timezone. To fix the test, I would just adjust it to not check the time part of the string.

        Show
        sebastian.stamm Sebastian Stamm added a comment - I don't think we should display the date in UTC there. In all other places we use the local timezone. To fix the test, I would just adjust it to not check the time part of the string.
        Hide
        sebastian.stamm Sebastian Stamm added a comment -

        The "should adjust groupby Variable Date option in table to unit" test fails on Jenkins. Maybe some timezone problem?

        Show
        sebastian.stamm Sebastian Stamm added a comment - The "should adjust groupby Variable Date option in table to unit" test fails on Jenkins. Maybe some timezone problem?

          People

          • Assignee:
            Unassigned
            Reporter:
            sebastian.stamm Sebastian Stamm
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: