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

How disable past time? #132

Open
riaydh06 opened this issue Nov 19, 2017 · 1 comment
Open

How disable past time? #132

riaydh06 opened this issue Nov 19, 2017 · 1 comment

Comments

@riaydh06
Copy link

riaydh06 commented Nov 19, 2017

I try to disable before 10:34 time. But I can't .
limit: [{},
{
type: 'fromto',
//from: new Date(new Date() -1 * 86400000),
from: '2017-11-18 10:34',
to: '2040-02-20'
}],

@riaydh06 riaydh06 changed the title How dis select past time? How disable past time? Nov 19, 2017
@TurningTide
Copy link

TurningTide commented Mar 19, 2018

There is wrong info in documentation.
"limit" must be Array, so u have to do it this way
limit: [ { type:'fromto', from:'2018-03-1', to:'2018-03-30' } ],

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

2 participants