fixed datepicker format not parsing correctly.

This commit is contained in:
DESKTOP-GENO133\IvanPlex 2024-01-07 16:12:16 -07:00
parent 70308ed6eb
commit 2a842d1c8c
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,8 @@
if (data) {
$("#reminderRecordModalContent").html(data);
$('#reminderDate').datepicker({
startDate: "+0d"
startDate: "+0d",
format: getShortDatePattern().pattern
});
$("#reminderRecordModal").modal("show");
}

View File

@ -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");
});