refactor: use A.D. year
This commit is contained in:
parent
7e9a033a47
commit
f96837b133
2 changed files with 3 additions and 11 deletions
|
|
@ -25,7 +25,7 @@ function valueUpdate(value: string) {
|
|||
}
|
||||
|
||||
if (value.length === 10) {
|
||||
const _date = parseAndFormatDate(value, i18n.locale.value);
|
||||
const _date = parseAndFormatDate(value);
|
||||
|
||||
if (_date) {
|
||||
if (Array.isArray(props.disabledDates)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue