Merge pull request #22 from hargata/electric.vehicle
fixed datepicker format not parsing correctly.
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
if (data) {
|
||||
$("#reminderRecordModalContent").html(data);
|
||||
$('#reminderDate').datepicker({
|
||||
startDate: "+0d"
|
||||
startDate: "+0d",
|
||||
format: getShortDatePattern().pattern
|
||||
});
|
||||
$("#reminderRecordModal").modal("show");
|
||||
}
|
||||
|
||||
@@ -190,7 +190,8 @@ function showAddReminderModal(reminderModalInput) {
|
||||
$.post('/Vehicle/GetAddReminderRecordPartialView', function (data) {
|
||||
$("#reminderRecordModalContent").html(data);
|
||||
$('#reminderDate').datepicker({
|
||||
startDate: "+0d"
|
||||
startDate: "+0d",
|
||||
format: getShortDatePattern().pattern
|
||||
});
|
||||
$("#reminderRecordModal").modal("show");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user