Merge pull request #22 from hargata/electric.vehicle

fixed datepicker format not parsing correctly.
This commit is contained in:
Hargata Softworks
2024-01-07 16:12:40 -07:00
committed by GitHub
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");
});