JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://eternicode.github.io/bootstrap-datepicker/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<link rel="stylesheet" href="http://eternicode.github.io/bootstrap-datepicker/bootstrap-datepicker/css/datepicker3.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.js"></script>
<input type="text" id="date" />
CSS
#date {
width: 100%;
}
JavaScript
$('#date').datepicker({
multidate: true,
format: 'yyyy-mm-ddT22:12:34.000Z',
multidateSeparator: ', '
}).datepicker('setUTCDates', [
'2014-10-14T22:00:00.000Z',
'2014-10-15T22:14:00.000Z',
'2014-10-16T22:20:00.798Z'
].map(function(x) {
return new Date(x.substr(0, 10));
}));