Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get end date of calendar #208

Open
azzeddine05 opened this issue Oct 3, 2018 · 0 comments
Open

get end date of calendar #208

azzeddine05 opened this issue Oct 3, 2018 · 0 comments

Comments

@azzeddine05
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant