culture not found exception is thrown when selecting date in GH culture
I am using sfDatetimeRangepicker in maui blazor app and get an error culture not found when ever I select a date. using the below culture throws the error :
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("en-GH");
CultureInfo.DefaultThreadCurrentUICulture = new CultureInfo("en-GH");
I reliased there was a fix for ver 23.1.41. but the current build version still throws the error.
I am using ver 24.1.47.
Thank you.
check if it works with sfDatetime to know if the problem is with only sfDatetimeRangepicker or both.
I never used sfDatetimeRangepicker but I was the one who reported the new CultureInfo("en-GH")
bug and it got fixed. It's still working for me on 23.2.6 so check if the issue is only on sfDatetimeRangepicker
Hello Boot Dat.
I tried your suggestion and it's seem the issue is with the sfDatetimeRangePicker. The Sfdatetimepicker works perfectly fine with the GH culture.
Great. So we are now one step forward. This means they only fixed it on sfdatetimepicker not sfDatetimeRangePicker. I hope they see this soon so they suggest a solution or add a fix for the next update.
For now I can suggest you use two sfdatetimepicker for what you want to do till it's fixed. Only if it would workout with what you building or working on.
Hi Ali,
We have already considered the reported issue “Culture not found exception is thrown when selecting date in GH culture - DateRangePicker" as a bug from our end and the fix for the issue will be included with our upcoming patch release ,which is expected to be rolled out at the end of February, 2024. Now you can track the status of the reported issue through the feedback below,
Feedback Link: https://www.syncfusion.com/feedback/50535/culture-not-found-exception-is-thrown-when-selecting-date-in-gh-culture
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.”
Hi Ali,
We have included the fix for the issue "Culture not found exception is thrown when selecting date in GH culture - DateRangePicker" with our package version “24.2.6”. Therefore, we recommend upgrading to our latest version to resolve the current issue.
Release notes:https://blazor.syncfusion.com/documentation/release-notes/24.2.6?type=all#bug-fixes-4
Regards,
Kokila Poovendran.
- 5 Replies
- 3 Participants
-
AL Ali
- Jan 31, 2024 03:11 PM UTC
- Feb 22, 2024 05:15 AM UTC