(specificFormat?: string)
| 2811 | } |
| 2812 | |
| 2813 | function getDateStr(specificFormat?: string) { |
| 2814 | const format = |
| 2815 | specificFormat || |
| 2816 | (self.config.altInput ? self.config.altFormat : self.config.dateFormat); |
| 2817 | |
| 2818 | return self.selectedDates |
| 2819 | .map((dObj) => self.formatDate(dObj, format)) |
| 2820 | .filter( |
| 2821 | (d, i, arr) => |
| 2822 | self.config.mode !== "range" || |
| 2823 | self.config.enableTime || |
| 2824 | arr.indexOf(d) === i |
| 2825 | ) |
| 2826 | .join( |
| 2827 | self.config.mode !== "range" |
| 2828 | ? self.config.conjunction |
| 2829 | : self.l10n.rangeSeparator |
| 2830 | ); |
| 2831 | } |
| 2832 | |
| 2833 | /** |
| 2834 | * Updates the values of inputs associated with the calendar |
no outgoing calls
no test coverage detected
searching dependent graphs…