DateRangePicker return different dates on Linux

Hi

I use the DateRangePicker and when I run the code local on my machine the dates the DateRangePicker return are correct.
I select a range 26. Oct - 30. Oct and I use two-way binding.
On my mac with time zone the DateRangePicker return:
26.10.2020 00:00:00 (Local)
30.10.2020 00:00:00 (Local)
On the production environment (Linux Ubuntu 18.04) the DateRangePicker return:
10/25/2020 11:00:00 PM (Local)
10/29/2020 11:00:00 PM (Local)
The logs are generated at the HQDateRangePickerUtc.razor line 45 and 55.

I don't understand why! Can you help please?

I collected all information and my code in the attachments.
Best regards



Attachment: daterangepicker_timezoneissue_19bddf94.zip

2 Replies 1 reply marked as answer

UN Unknown December 18, 2020 07:43 AM UTC

I think the control returns the date in UTC, but based on which timezone? 
Timezone of the browser? Ist there some documentation somewhere?



PM Ponmani Murugaiyan Syncfusion Team December 21, 2020 02:24 AM UTC

Hi Nils, 

Thanks for contacting Syncfusion support. 

We checked your reported query. We suggest you to upgrade to latest version 18.4.30 and we have breaking changes in the latest version. Please find the release notes below: 


Kindly check with the above suggestion. If issue still exists please revert us with the below details. 

  1. Syncfusion Nuget version used in your application.
  2. Share control rending code snippet and video demonstration.
  3. 3. If possible issue provide issue replicating sample.

The above requested details will help us to check and provide you the solution at earliest. 

Regards, 
Ponmani M  


Marked as answer
Loader.
Up arrow icon