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

        sebastian.stamm Sebastian Stamm created issue -
        johannes.heinemann Johannes Heinemann made changes -
        Field Original Value New Value
        Assignee Omran Abazeed [ omran.abazeed ]
        omran.abazeed Omran Abazeed made changes -
        Status Open [ 1 ] In Development [ 10312 ]
        omran.abazeed Omran Abazeed made changes -
        Status In Development [ 10312 ] In Review [ 10212 ]
        Assignee Omran Abazeed [ omran.abazeed ] Sebastian Stamm [ sebastian.stamm ]
        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?
        sebastian.stamm Sebastian Stamm made changes -
        Status In Review [ 10212 ] Ready to implement [ 10000 ]
        sebastian.stamm Sebastian Stamm made changes -
        Assignee Sebastian Stamm [ sebastian.stamm ] Omran Abazeed [ omran.abazeed ]
        omran.abazeed Omran Abazeed made changes -
        Status Ready to implement [ 10000 ] In Development [ 10312 ]
        omran.abazeed Omran Abazeed made changes -
        Status In Development [ 10312 ] In Review [ 10212 ]
        Assignee Omran Abazeed [ omran.abazeed ] Sebastian Stamm [ sebastian.stamm ]
        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.
        sebastian.stamm Sebastian Stamm made changes -
        Status In Review [ 10212 ] Ready to implement [ 10000 ]
        sebastian.stamm Sebastian Stamm made changes -
        Assignee Sebastian Stamm [ sebastian.stamm ] Omran Abazeed [ omran.abazeed ]
        omran.abazeed Omran Abazeed made changes -
        Status Ready to implement [ 10000 ] In Development [ 10312 ]
        omran.abazeed Omran Abazeed made changes -
        Status In Development [ 10312 ] In Review [ 10212 ]
        Assignee Omran Abazeed [ omran.abazeed ] Sebastian Stamm [ sebastian.stamm ]
        sebastian.stamm Sebastian Stamm made changes -
        Assignee Sebastian Stamm [ sebastian.stamm ]
        Status In Review [ 10212 ] Done [ 10010 ]
        Resolution Fixed [ 1 ]
        sebastian.stamm Sebastian Stamm made changes -
        Fix Version/s 2.2.0-alpha1 [ 15328 ]
        johannes.heinemann Johannes Heinemann made changes -
        Fix Version/s 2.2.0 [ 15338 ]
        johannes.heinemann Johannes Heinemann made changes -
        Labels current_release
        johannes.heinemann Johannes Heinemann made changes -
        Workflow Camunda Optimize - 2.0 [ 51896 ] Camunda Optimize - 2.4 [ 66090 ]
        johannes.heinemann Johannes Heinemann made changes -
        PM Priority -1
        johannes.heinemann Johannes Heinemann made changes -
        PM Priority -1

          People

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

            Dates

            • Created:
              Updated:
              Resolved: