HTML-5 date field shows as “mm/dd/yyyy” in Chrome, even when valid date is set

前端 未结 5 1226
慢半拍i
慢半拍i 2020-12-29 00:55

I just upgraded an ASP.Net MVC application to MVC-4. The field editor for inputs based on DateTime values now include\'s the HTML-5 type="date" attrib

5条回答
  •  春和景丽
    2020-12-29 01:43

    Had the same problem. A colleague solved this with jQuery.Globalize.

    
    
    
    
    

    I am using jQuery Datepicker for selecting the date.

提交回复
热议问题