longbill/jquery-date-range-picker

swapTime working not as expected

Opened this issue · 0 comments

cratu commented

swapTime option is on.

when I open calendar and select 16.06.2018 (DD.MM.YYYY) for example, then 15.06.2018 finaly I have range: 15.06.2018 00:00 - 16.06.2018 23:59, that looks good
then I'm again chose 16 then 15 Jule and get 15.06.2018 23:59 - 16.06.2018 00:00, that look strange

I think swapTime option must change time when end time less than start time, when dates chacked in asc order?