Date format in the text box when edit is incorrect

Aug 1, 2014 at 7:01 AM
Hello, I am developing the same project. I have a question that the date format in the text box while editing is not same as adding new record.

I mean when i enter new record the date format in the text box is like 15/07/2014, and when i edit record the date the the text box is like 26-Aug-14 12:00:00 AM. I don't understand where to modify my code in order to get the same date. Please help
Coordinator
Aug 1, 2014 at 8:56 AM
from the awesome demo
Site.master:
  var dateFormat = '<%:AweUtil.ConvertTojQueryDateFormat(Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern)%>';
Site.js
   setjQueryValidateDateFormat(dateFormat);