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

Add support for min - max date #4

Closed
GramThanos opened this issue Aug 4, 2017 · 8 comments
Closed

Add support for min - max date #4

GramThanos opened this issue Aug 4, 2017 · 8 comments

Comments

@GramThanos
Copy link
Owner

Is there a way to add a min date (ie: current date) and a maxdate (ie: current date = 1 year)?

Suggested by @crist-y

So, if I understand correctly, you want the calendar to be limited inside a date range.

@crist-y
Copy link

crist-y commented Aug 6, 2017

Hi,
Yes be able to define a variable minDate and maxDate, that play nice with the Date object and the rest of the script.
Where would you put it inside your script?

@crist-y
Copy link

crist-y commented Aug 6, 2017

Also I apologize if I polluted your other branch, I'm new to GitHub, and to more complex JS

@GramThanos
Copy link
Owner Author

GramThanos commented Aug 6, 2017

Dont worry about where you post. It is just easier to track issues when they are in separate issues threads.

Yes. I will implement it.

@GramThanos
Copy link
Owner Author

Implemented and is now live on developer version v1.4-beta.2 for testing.

<div class="auto-jsCalendar"
     data-date="01/02/2017"
     data-min="01/01/2017"
     data-max="01/03/2017"></div>

Full example on "/examples/parameters min-max.html" file.

@crist-y
Copy link

crist-y commented Aug 28, 2017 via email

@crist-y
Copy link

crist-y commented Sep 6, 2017

Sorry mate, but how can I access the beta, cause I always get the 1.3 version

@GramThanos
Copy link
Owner Author

Check if you get the correct version from here:
https://github.com/GramThanos/jsCalendar/releases/tag/v1.4-beta.2

@crist-y
Copy link

crist-y commented Sep 6, 2017 via email

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

No branches or pull requests

2 participants