- Home
- Forum
- ASP.NET Core - EJ 2
- StartDate and enddate are incorrectly displayed
StartDate and enddate are incorrectly displayed
Hi
i am using ejs-gantt chart in asp.net core.
Issue
StartDate & EndDate does not display as per response.
i did share response file and screenshot. Please compare response file and and screenshot.check startdate and enddate.
Attachment: ResponseFile_51605dba.zip
|
<e-gantt-dayworkingtimecollection>
<e-gantt-dayworkingtime from="0" to="24"></e-gantt-dayworkingtime>
</e-gantt-dayworkingtimecollection> |
Hi
I use given above code so getting issue in date submit.
Issue: I have getting issue in date. date not respective shown when i save startdate and enddate.
please check below screenshot.
1). when i select startdate and enddate before save it.
2). startdate and enddate getting wrong after save data.
Please check below attached file.
Attachment: ganttchart_6f13e118.zip
|
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1)
.AddJsonOptions(options => options.SerializerSettings.ContractResolver = new DefaultContractResolver())
.AddJsonOptions(opt => opt.SerializerSettings.DateFormatHandling = Newtonsoft.Json.DateFormatHandling.MicrosoftDateFormat)
.AddJsonOptions(opt => opt.SerializerSettings.DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Local);
|
Hi
I use given above code so getting issue in date deleting
as you say i add timezone property in Gantt chart but getting issue in delete task.
error message showing as : Uncaught TypeError: Cannot read properties of undefined (reading 'startDate')
when i remove timezone property. then delete function works perfectly
please check below attached file.
Attachment: ganttchart_3f4c0a5b.zip
StartDate & EndDate does not display as per response.
I have getting date issues to many time. but this problem not resolved.please how can i resolve this issue. please provide solution.
we shared below attached response data. please compare and check response date and screenshot display date.
Attachment: Date_Issue_313b06c4.zip
any update on this?
- The use cases in which the issue is reported.
- Video demo of the issue.
- Screenshot of error with complete stack trace (if any).
Hi
we made demo project related of startdate and enddate issues.
you can see in this project. date are appear wrong as per response of datasource.
so please check and compare startdate and enddate. please help to resolve this problem as soon as possible.
Attachment: Date_Issues_bfb9c685.zip
- 10 Replies
- 3 Participants
- Marked answer
-
HP Himmat Panchal
- Jul 14, 2021 10:19 AM UTC
- Sep 13, 2021 02:01 PM UTC