()
| 125 | isValidDate = dt => dayjs(dt, this.getFormat().inputFormat).isValid() || dt === ''; |
| 126 | |
| 127 | getNow() { |
| 128 | const { inputFormat } = this.getFormat(); |
| 129 | return this.isUtc ? dayjs.utc().format(inputFormat) : dayjs().format(inputFormat); |
| 130 | } |
| 131 | |
| 132 | formatInputValue(value) { |
| 133 | if (value === '') return value; |