jquery ui - jqueryui datepicker show extra week when conbine numberOfMonths+showOtherMonths -


i'm having issue jqueryui datepicker, have inline datepicker on div numberofmonths=3, showothermonths=true, , when month have 6 weeks month next have 6 week if shouldn't, week belong next month, here image of i'm talking about: extraweek image

this datepicker code:

jquery("#datepicker").datepicker({    dateformat: "dd/mm/yy",    numberofmonths: 3,    showcurrentatpos: 1,    firstday: 1,    showweek: true,    showothermonths: true,    selectothermonths: true,    defaultdate: '20/05/2016',  });
#datepicker{    max-width: 100%;    width: 100%;  }
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script>  <script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>  <link href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" rel="stylesheet"/>    <div id="datepicker"></div>

i know if had dealed because didn't find info on issue, i've tried delete tr week once datepicker loaded prefer seek better solution.

thanks lot response.


Comments