refactor: use A.D. year

This commit is contained in:
Methapon Metanipat 2024-11-05 07:30:03 +07:00
parent 7e9a033a47
commit f96837b133
2 changed files with 3 additions and 11 deletions

View file

@ -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)) {