Changes datepicker directives