0

My project is in MVC. I am using bootstrap datetime picker for selecting the date from web and it is working on my local machine, but after publishing the code on Azure, I am getting a date format validation error.

JavaScript:

$('#DateofBooking').datetimepicker({format: 'MM/DD/YYYY'});

The validation message I see:

Screenshot of validation message: "The field must be a date."

iff_or
  • 809
  • 1
  • 12
  • 22
Ajay Chaturvedi
  • 95
  • 1
  • 1
  • 6

0 Answers0