【发布时间】:2015-09-24 00:29:30
【问题描述】:
我的页面上有一条关于无效日期格式的警告,如下所示。该警告由 Kendo UI DatePicker 组件生成。我在网上找不到解决方案,我的应用是本地化的 pt-BR。如何解决这个问题。
<p>@(Html.Kendo().DatePicker().Name("periodoDocumento").Value(DateTime.Now))</p>
谷歌浏览器出错:
The specified value '06/07/2015' does not conform to the required format, 'yyyy-MM-dd'.
我必须使用日-月-年格式来满足客户的需求。
【问题讨论】:
标签: date kendo-ui datepicker format