DataManager Dates Timezone not managed properly

Hello,

I'm facing an issue with the last version 24.1.47 of syncfusion Blazor.

I'm using the DataManager to load a DataGrid from an OData API. With the DataManager, I get this result in the Grid:

Image_3206_1706134421929

But when I'm loading the data using a DataSource, I don't have the same result:

Image_5305_1706134344931

The data is the same between these two screenshots (you can see it with IDs on the left column) and it is provided by the same API.

In my database, the data is the same as for the DataSource loading:

Image_4455_1706134574652

I can notice that on the server side and on the client side, the timezone is:

Image_8706_1706134710347

And the difference between DataSource and DataManager is -5 hours.

For me this is an unexpected behavior, and I should have the same value in both cases.

You can find the code used in both cases in attachment.

Can you help me to fix my issue?


Attachment: DataManager_vs_DataSource_713c75a8.zip

1 Reply

PS Prathap Senthil Syncfusion Team January 25, 2024 03:00 PM UTC

Hi Julien,

You encountered an issue with grid data binding using a data manager. But  We are unable to reproduce the reported issue when attempting to reproduce the issue in the latest version 24.1.47 . For your reference we have attached a screenshot and simple sample .So, to further proceed with the reporting problem, we require some additional clarification from your end. Please share the below details to proceed further at our end.

  • To analyze the reported issue, could you please share a simple and reproducible sample that demonstrates the problem? This will assist us in identifying the issue more efficiently and providing a resolution.
  • If possible, kindly share your attempt to replicate the issue using the attached simple sample.


A screenshot of a computer

Description automatically generated


Above-requested details will be very helpful in validating the reported query at our end and providing a solution as early as possible. Thanks for your understanding.



Regards,
Prathap S


Attachment: DataGridWithDataManger_67020a1b.zip

Loader.
Up arrow icon