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