Calendar icon indicating copy to clipboard operation
Calendar copied to clipboard

get end date of availibility in calendar

Open azzeddine05 opened this issue 6 years ago • 0 comments

hello i'm using a calendar for project availibility, and my data geted from database is colored by unavailable and i get start date correctly using this code

     $('.basic').calendar({
           unavailable: availabilities,
            onSelectDate: function (date, month, year) {
             const adId = $('#add-container').data('adId');
             var start_date = [year,month >= 10 ? month : '0'+month,date >= 10 ? date : 
            '0'+date].join('- 
       ');

but now i want also get date end of interval please any help

azzeddine05 avatar Oct 03 '18 17:10 azzeddine05