JSFiddle - React, Tailwind, and code Playground

by ioums

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/themes/base/jquery-ui.css">
<link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css">
<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"});
});