JSFiddle - React, Tailwind, and code Playground
by ioums
HTML
<p>Date:
<input type="text" id="datepicker">
</p>
CSS
.ui-datepicker-year, .ui-datepicker-calendar thead {
display: none;
}
JavaScript
$(function () {
Date.prototype.getDay = function () {
return ((this.getDate() - 1) % 7);
}
$("#datepicker").datepicker({
dateFormat: "d MM"
});
});