Wrong baseline end date

Hello,

I have wrong baseline end date in Gantt control. Gantt control subtracts one day from my baseline end date. For example it should be 2018-09-21 but it is 2018-09-20. Baseline start date is ok.
My data:
[
   {
      "id":"5b7fd0c120575a2af07243ba",
      "parentId":null,
      "name":"Faza Pierwsza",
      "isStage":true,
      "actualStartDate":"2018-09-01T00:00:00Z",
      "actualEndDate":"2018-09-21T00:00:00Z",
      "actualDuration":21,
      "baselineStartDate":"2018-09-01T00:00:00Z",
      "baselineEndDate":"2018-09-21T00:00:00Z",
      "baselineDuration":21,
      "owner":"Jan Testowy",
      "children":[
         {
            "id":"5b7fd19320575a2af07243c9",
            "parentId":null,
            "name":"Zadanie 1.1",
            "isStage":false,
            "actualStartDate":"2018-09-05T00:00:00Z",
            "actualEndDate":"2018-09-21T00:00:00Z",
            "actualDuration":17,
            "baselineStartDate":"2018-09-05T00:00:00Z",
            "baselineEndDate":"2018-09-21T00:00:00Z",
            "baselineDuration":17,
            "owner":"Jan Testowy",
            "children":[
            ]
         },
         {
            "id":"5b7fd18b20575a2af07243c8",
            "parentId":null,
            "name":"Zadanie 1.2",
            "isStage":false,
            "actualStartDate":"2018-09-01T00:00:00Z",
            "actualEndDate":"2018-09-20T21:00:00Z",
            "actualDuration":21,
            "baselineStartDate":"2018-09-01T00:00:00Z",
            "baselineEndDate":"2018-09-20T21:00:00Z",
            "baselineDuration":21,
            "owner":"Jan Testowy",
            "children":[
            ]
         }
      ]
   }
]

Attachment: wrong_baseline_end_date_3c050578.zip

3 Replies

JR John Rajaram Syncfusion Team August 30, 2018 12:08 PM UTC

Hi Michal, 
Thank you for contacting Syncfusion support 
We have analyzed your reported issue and attachment. This issue was occurred as you had set the time value as zero to the baselineEndDate in your datasource and the zero has not the proper working time, so the baselineEndDate is set to the previous date. We suggest you to provide the proper working time for the baselineEndDate to overcome the reported issue. If you don’t need to set the working time, then you can provide only the date without time range for the baselineEndDate.  
We have prepared the sample with proper datasource, please find the sample from below link 
If the issue still persists in your sample please let us know, it will be helpful for us to serve you better. 
Please let us know if you require further assistance on this. 
Regards, 
John R 



MD Malgorzata Dobkowska August 31, 2018 01:41 PM UTC

Hello,

Removing time from the date fixed the issue.

Best regards


JR John Rajaram Syncfusion Team August 31, 2018 01:46 PM UTC

Hi Michal, 
We are glad that your issue has been fixed. Please let us know if you need further assistance on this. 
Regards, 
John R 


Loader.
Up arrow icon