JSFiddle - React, Tailwind, and code Playground

by TJ VanToll

HTML

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.
2/themes/redmond/jquery-ui.css" rel="stylesheet" />

<p><a href="http://bugs.jqueryui.com/ticket/8953">jQuery UI #8953</a> - The <code>beforeShowDay</code> method is receiving duplicate dates. Look for repeated dates in the log.</p>

<div id="container"></div>

JavaScript

$("#container").datepicker({
  numberOfMonths: 2,
  beforeShowDay: function(date) {
    console.log(date);
    return [false];
  }
});