| | |
| | | } else if ($attrs["rangeType"] === "singleDate") { |
| | | $($element).daterangepicker({ |
| | | timePicker: true, |
| | | timePicker24Hour : true, |
| | | timePickerSeconds : true, |
| | | autoUpdateInput: true, |
| | | autoApply : true, |
| | |
| | | |
| | | //parentEl : $scope.parentEl !== undefined ? $scope.parentEl : "", |
| | | locale: { |
| | | format: 'YYYY-MM-DD hh:mm:ss', |
| | | format: 'YYYY-MM-DD HH:mm:ss', |
| | | separator: "~", |
| | | applyLabel: options.applyLabel, |
| | | cancelLabel: options.cancelLabel, |
| | |
| | | } else if ($attrs["rangeType"] === "multiDate") { |
| | | $($element).daterangepicker({ |
| | | timePicker: true, |
| | | timePicker24Hour : true, |
| | | timePickerSeconds : true, |
| | | autoUpdateInput: true, |
| | | autoApply : true, |
| | |
| | | |
| | | //parentEl : $scope.parentEl !== undefined ? $scope.parentEl : "", |
| | | locale: { |
| | | format: 'YYYY-MM-DD hh:mm:ss', |
| | | format: 'YYYY-MM-DD HH:mm:ss', |
| | | separator: "~", |
| | | applyLabel: options.applyLabel, |
| | | cancelLabel: options.cancelLabel, |