3
I am developing a system using C# MVC and Jquery UI and at the moment I am having problems with date formats, in inputs is the date in the correct format "dd/mm/yyyy" but the server is receiving the date in the format "mm/dd/yyyy".
Apparently the Culture of the web.config
that is correct:
<globalization culture="pt-BR" uiCulture="pt-BR" enableClientBasedCulture="true" requestEncoding="utf-8"/>
The Datepicker
also seems to be in the correct format, as it is showing all the information of the months in Portuguese and when I select a date comes in the correct format.
Just remember that this tag applies server-side formatting. Have you explicitly defined somewhere that Datepicker uses the dd/mm/yyyy format? Tested using a date > 12 (30/10/2014)?
– Andre Figueiredo