We have a grid that has a GridDateTimeColumn with the globalization culture info settings set to "en-GB". If I enter the date "30/12/2014" and save it to the database, the column maintains the correct formatting of "dd/MM/YYYY" after the save postback completes. However, if I enter "06/01/2015" and click save, the date format changes to "01/06/2015" after the postback. The date is saved correctly in the db as "12/30/2014" and "01/06/2015".
I'm at a loss as to what the problem could be. Checking CultureInfo and CultureUIInfo shows the following:
CultureInfo = "en-GB"
CultureUIInfo = "en-US"
Internet Explorer's "Language Preference" has only "English (United Kingdom) [en-GB]" in its list.
Even when I set CultureUIInfo to "en-GB" manually in the page_load, the problem persists.
Please help,
Thank you,
James
I'm at a loss as to what the problem could be. Checking CultureInfo and CultureUIInfo shows the following:
CultureInfo = "en-GB"
CultureUIInfo = "en-US"
Internet Explorer's "Language Preference" has only "English (United Kingdom) [en-GB]" in its list.
Even when I set CultureUIInfo to "en-GB" manually in the page_load, the problem persists.
Please help,
Thank you,
James