make it possible to pass min/maxDate to date picker as offset