我的页面上有关于无效日期格式的警告,如下所示.该警告由Kendo UI DatePicker组件生成.我在网上找不到解决方案,我的应用程序是本地化的pt-BR.如何解决这个问题呢.
<p>@(Html.Kendo().DatePicker().Name("periodoDocumento").Value(DateTime.Now))</p>
Run Code Online (Sandbox Code Playgroud)
Google Chrome中出错:
The specified value '06/07/2015' does not conform to the required format, 'yyyy-MM-dd'.
Run Code Online (Sandbox Code Playgroud)
我必须使用日 - 月 - 年格式来满足我的客户需求.