Litepicker icon indicating copy to clipboard operation
Litepicker copied to clipboard

When default startDate and endDate set second month and year displayed is wrong

Open artur79 opened this issue 4 years ago • 3 comments

Here's the fiddle. Selection and range show in input is correct, but at the header of second month year and month is wrong.

https://jsfiddle.net/76tyncz5/

I'v tried also to pass value for input instead Litepicker initializer params, same bug.

artur79 avatar Mar 09 '21 11:03 artur79

Similar issue when selecting some predefined range with ranges plugin.

artur79 avatar Mar 09 '21 14:03 artur79

Currently you can do something like this: https://jsfiddle.net/e8vg47nu/

In the next release I will fix it.

wakirin avatar Mar 10 '21 09:03 wakirin

@wakirin works perfect, thx

artur79 avatar Mar 10 '21 13:03 artur79