阅读背景:

在HTTP GET中绑定en-GB日期

来源:互联网 

I'm having a nightmare of a time with Dates. Were based in the UK, so our date format is dd/MM/yyyy. This is what users will type into the form when they want a certain date. I have a form that accepts just such a property. It's obviously a DateTime type. I want to send this form to the controller in a GET, so the user has a nice URL they can save pass on, etc. The view also needs to bind a JQuery UI datepicker to this element also. I also need the form element to have a certain id and class so I really need to render this to the form thus:I'm having a nightmare of a time with Dates. We




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: