[OPT-1358] Dates are not formatted in group by start date reports Created: 24/Jul/18  Updated: 18/Apr/19  Resolved: 31/Jul/18

Status: Done
Project: Camunda Optimize
Component/s: frontend
Affects Version/s: None
Fix Version/s: 2.2.0-alpha1, 2.2.0

Type: Bug Report Priority: L3 - Default
Reporter: Sebastian Stamm Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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


 Comments   
Comment by Sebastian Stamm [ 27/Jul/18 ]

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

Comment by Sebastian Stamm [ 30/Jul/18 ]

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.

Generated at Sun Jul 21 10:37:24 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.