#15: issue using parameters allowOldDates or allowFutureDates fixed
v.0.2.5