change daterangepicker directive