Using the DateTimeFormatInfo
constructor directly in your application creates date/time information for the invariant culture only
. Instead of creating a new instance of DateTimeFormatInfo
you should just override some of the values associated with the chosen culture. Here is sample code how this should be done:
Sorry for the inconvenience caused.
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>