How to set right date format for editable-date

http://stackoverflow.com/questions/26825433/how-to-set-right-date-format-for-editable-date

 

I found an answer for me... I tried to convert my input date to Date obj on server side and than I sended json to a client. On client I always got my date as a string, but not as Date object. When I do new Date(inputDate) on the client everything is okay.

posted @ 2016-01-21 09:56  哪有公园可以住的呀  阅读(123)  评论(0)    收藏  举报