Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Maximum time issue #5

Open
benscobie opened this issue Mar 25, 2017 · 0 comments
Open

Maximum time issue #5

benscobie opened this issue Mar 25, 2017 · 0 comments

Comments

@benscobie
Copy link
Owner

benscobie commented Mar 25, 2017

Having a maximum time of 24:00 for example is not currently supported. I think the best way of getting around this is to set the maximum minute to 60 or leave it unspecified. Something like this:

            var options = {
                hour: {
                    min: 0,
                    max: 24,
                    step: 1,
                    symbol: "hrs"
                },
                minute: {
                    min: 0,
                    max: 60,
                    step: 15,
                    symbol: "mins"
                }
            };

I can't think of a better way at the moment.

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

No branches or pull requests

1 participant