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

Allow enabling of disabled dates. closes #248 #269

Merged
merged 1 commit into from
Dec 5, 2013

Conversation

ro-ka
Copy link
Contributor

@ro-ka ro-ka commented Nov 8, 2013

Enabling a date will now add it to the disable array with a fourth value inverted in the array:

[ 1, 3, [2013, 4, 6], [2013, 10, 4, 'inverted'] ]

So this setup will show all mondays as disabled but the 4th of November is enabled.

Adjusted the tests as the expected output for enabling changed.

To test with a visible calendar, open the api page and execute the code in the issue #248.

@amsul
Copy link
Owner

amsul commented Nov 12, 2013

This is great! Will merge soon, thanks.

@amsul amsul merged commit 3352cd8 into amsul:dev Dec 5, 2013
@ro-ka ro-ka deleted the fix/enable-disable branch December 5, 2013 13:42
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

Successfully merging this pull request may close these issues.

2 participants