ChiperSoft/Kalendae — Issue #7: Invalid date in 'range' mode
Author: vsr
Created: 2012-03-08 22:48:38+00:00
State: open

In 'range' mode, when a date is selected from the datepicker, end date displays as NaNs in input field.
I've created a jsfiddle test at http://jsfiddle.net/7vLjD/1/

Problem appears to be that when the input field is focused, that field's value(which is empty string) is parsed as invalid date and set to `_sel`.

I guess `parseDates` should be returning an empty array when the input is empty string.