Uploaded image for project: 'Analytics'
  1. Analytics
  2. ANALYTICS-366

[Investigate] Date format does not render correctly for first and second day of the month

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 1.2

    Description

      • Checking a/b instance or you can create fake data. See chart-6 has not format date correctly

       

      • When set up chart-6 in amchart itself without magnolia. Still see the same problem. The incorrect format should from Amchart

       

       

      • Here is real data for chart-6 : 
        {
          "series": [
            {
              "name": "variant A",
              "type": "LineSeries",
              "dataFields": {
                "valueY": "value0",
                "dateX": "date0"
              },
              "strokeWidth": "3",
              "tooltipText": "{name}: [bold]{valueY}[/]"
            },
            {
              "name": "variant B",
              "type": "LineSeries",
              "dataFields": {
                "valueY": "value1",
                "dateX": "date1"
              },
              "strokeWidth": "3",
              "tooltipText": "{name}: [bold]{valueY}[/]"
            }
          ],
          "xAxes": [
            {
              "type": "DateAxis",
              "dataFields": {},
              "renderer": {
                "labels": {
                  "truncate": true
                },
                "grid": {
                  "location": 0
                },
                "maxLabelPosition": 0.99
              },
              "dateFormats": {
                "day": "dd.MM.yy"
              },
              "dateFormatter": {
                "inputDateFormat": "dd.MM.yy"
              },
              "id": "xaxe"
            }
          ],
          "yAxes": [
            {
              "type": "ValueAxis",
              "dataFields": {},
              "renderer": {
                "labels": {
                  "truncate": true
                },
                "grid": {
                  "location": 0
                },
                "maxLabelPosition": 0.99
              },
              "dateFormats": {},
              "id": "yaxe"
            }
          ],
          "cursor": {
            "type": "XYCursor"
          },
          "colors": {
            "step": 4
          },
          "data": [
            {
              "value1": "6.17",
              "value0": "3.40",
              "date1": "28.05.21",
              "date0": "28.05.21"
            },
            {
              "value1": "4.63",
              "value0": "3.26",
              "date1": "29.05.21",
              "date0": "29.05.21"
            },
            {
              "value1": "6.17",
              "value0": "4.19",
              "date1": "30.05.21",
              "date0": "30.05.21"
            },
            {
              "value1": "6.88",
              "value0": "3.27",
              "date1": "31.05.21",
              "date0": "31.05.21"
            },
            {
              "value1": "7.94",
              "value0": "4.88",
              "date1": "01.06.21",
              "date0": "01.06.21"
            },
            {
              "value1": "7.38",
              "value0": "4.70",
              "date1": "02.06.21",
              "date0": "02.06.21"
            },
            {
              "value1": "7.46",
              "value0": "5.03",
              "date1": "03.06.21",
              "date0": "03.06.21"
            },
            {
              "value1": "8.79",
              "value0": "4.17",
              "date1": "04.06.21",
              "date0": "04.06.21"
            },
            {
              "value1": "5.87",
              "value0": "0.00",
              "date1": "07.06.21",
              "date0": "05.06.21"
            },
            {
              "value1": "6.44",
              "value0": "6.16",
              "date1": "08.06.21",
              "date0": "07.06.21"
            },
            {
              "value1": "3.73",
              "value0": "2.13",
              "date1": "09.06.21",
              "date0": "08.06.21"
            },
            {
              "value1": "7.14",
              "value0": "2.75",
              "date1": "10.06.21",
              "date0": "09.06.21"
            },
            {
              "value1": "6.52",
              "value0": "3.63",
              "date1": "11.06.21",
              "date0": "10.06.21"
            },
            {
              "value1": "5.14",
              "value0": "3.54",
              "date1": "14.06.21",
              "date0": "11.06.21"
            },
            {
              "value1": "5.74",
              "value0": "4.52",
              "date1": "15.06.21",
              "date0": "14.06.21"
            },
            {
              "value0": "3.30",
              "date0": "15.06.21"
            }
          ]
        }
        

      AC: wanna see 01.06.21 instead of 01 Jun

       

      Note: This problem is from Amchart not from Magnolia. So we can investigate from Amchart or upgrade version of Amchart to see if the bug has gone.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              oanh.thai Oanh Thai Hoang
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 40m
                    40m