mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-10 00:46:08 -06:00
fixed datepicker format not parsing correctly.
This commit is contained in:
parent
70308ed6eb
commit
2a842d1c8c
@ -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");
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user