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

Throw error one day interval between min and max only if there is no tim... #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Freddy03h
Copy link

Throw error one day interval between min and max only if there is no time picker

Choose a datetime in the same day (eq: min 2015-03-09T10:00 and max 2015-03-09T18:00) throw an error max must be at least one day after min but functionally it doesn't have to. Actually if we comment the error it work.

See the issue here :
http://jsbin.com/zaxinimuki/1/edit?html,console,output
(the datetime-local input is just to show that's, functionally, work on chrome android)

So I just changed the condition to only check it if time option is false.

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.

None yet

1 participant