Skip to content

Commit

Permalink
taks-46989-date issue fix done
Browse files Browse the repository at this point in the history
  • Loading branch information
ofcom-ramakrishnan committed Dec 19, 2024
1 parent 6ad365f commit d833a15
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions Consultation-and-Statements-new-calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
td.day {
text-align: center !important;
}

.table-condensed .day:hover {
cursor: pointer;
background-color: #818991;
Expand Down Expand Up @@ -88,7 +89,7 @@

/* Adjust the width of the calendar */
.datepicker table {
width: 200px;
width: 250px;
}

/* Adjust the input field */
Expand Down Expand Up @@ -119,6 +120,10 @@
.datepicker-dropdown {
padding-bottom: 0px !important;
}

td.today.day {
background-color: #818991;
}
</style>
</head>

Expand Down Expand Up @@ -1915,9 +1920,15 @@ <h2 class="accordion-header">
format: 'dd/mm/yyyy',
autoclose: true,
keyboardNavigation: true,
}).datepicker('setDate', new Date());
todayHighlight: true
})

$('#datepicker1').datepicker({ format: 'dd/mm/yyyy', autoclose: true, keyboardNavigation: true }).datepicker('setDate', new Date());
$('#datepicker1').datepicker({
format: 'dd/mm/yyyy',
autoclose: true,
keyboardNavigation: true,
todayHighlight: true
});
$('#calendar-icon').on('click', function () {
$('#datepicker').datepicker('show');
});
Expand Down

0 comments on commit d833a15

Please sign in to comment.