fix(datepicker): dateFormat set in link directly in link func