needed settings to set the dates in the directive