longbill/jquery-date-range-picker

in the config file ,can not set the single date 'true' and bathMode 'week'

Opened this issue · 2 comments

as the description ,when set such case ,the week select function does not work

can you provide an example on https://jsfiddle.net/

@holtkamp i can not regist account on the provided website,i can show you my config js code,and the effect picture.
`

<script> $('#weekpicker').dateRangePicker({ batchMode: 'week', singleDate : true, showShortcuts: false, startDate: '2017-06-17', endDate: 'now', autoClose:true,

});
</script>
`
image

as you see in the effect pictue,the 'batchMode' setting does not work,i want both the batchMode and singleDate have effects .