asp.net mvc: default model binder problem

前端 未结 3 951
谎友^
谎友^ 2021-01-17 04:02

I\'ve got a MVC 3 view which displays a list of items that can be filtered by date.

The filter is a textbox which has been jQueryUI-fied into a date picker.

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-17 04:50

    Right, well the problem is the date format after all, it looks like the expected date format string is mm/dd/yyyy and the date is coming in as dd/mm/yyyy

提交回复
热议问题