We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Start and End datetime format changing between cultures while requesting OData API

Hello,

I'm facing an issue by using the SfSchedule component with Start and End datetime sent to OData API to filter data to display. When I'm using french culture, the OData request including Start datetime sent to the API is :


But when I change the culture of my application to english, the Start datetime format is changing :


I wanted to set the culture of the OData request as Invariant to always have the same date format in the OData request, but I don't know how to do it (Locale property of the Scheduler is missing).

Can you please help about this subject ?

Julien


2 Replies

SR Swathi Ravi Syncfusion Team March 13, 2023 03:36 PM UTC

Hi Julien,


We confirmed your reported problem “Start and End date time format changing between cultures while requesting OData API” as a bug and logged the defect report. The fix for this defect will be included in our upcoming weekly patch release, which is expected to be rolled out by end of March 2023. You can track the status of the fix at the following link:


Feedback : https://www.syncfusion.com/feedback/42035/start-and-end-date-time-format-changing-between-cultures-while-requesting-odata


Disclaimer: Inclusion of this solution in the weekly release
may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Swathi Ravi



RV Ravikumar Venkatesan Syncfusion Team March 24, 2023 04:52 PM UTC

Julien,


https://www.syncfusion.com/forums/181344/essential-studio-2023-volume-1-main-release-v21-1-35-is-available-for-download


We are glad to announce that our Essential Studio 2023 Volume 1 release v21.1.35 is rolled out and is available for download under the above link. In this release, the fix for the issue “start and end date format changing between cultures while requesting OData API” has been included. Upgrade to the latest version to resolve the issue.


Release notes: https://blazor.syncfusion.com/documentation/release-notes/21.1.35?type=all#schedule


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Loader.
Live Chat Icon For mobile
Up arrow icon