fixed short date pattern for datetimepicker.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-01-07 07:52:45 -07:00
parent f639c2c38b
commit e64d4f75b5
5 changed files with 31 additions and 8 deletions

View File

@@ -4,7 +4,8 @@
$("#taxRecordModalContent").html(data);
//initiate datepicker
$('#taxRecordDate').datepicker({
endDate: "+0d"
endDate: "+0d",
format: getShortDatePattern().pattern
});
$('#taxRecordModal').modal('show');
}
@@ -16,7 +17,8 @@ function showEditTaxRecordModal(taxRecordId) {
$("#taxRecordModalContent").html(data);
//initiate datepicker
$('#taxRecordDate').datepicker({
endDate: "+0d"
endDate: "+0d",
format: getShortDatePattern().pattern
});
$('#taxRecordModal').modal('show');
}