Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
formatDate(date, fmt) {
if (isObject(this.format) && typeof this.format.stringify === 'function') {
return this.format.stringify(date, fmt);
}
return format(date, fmt, { locale: this.locale.formatLocale });
},
// transform the outer value to inner date
formatDate(date, fmt) {
return format(date, fmt, { locale: this.t('formatLocale') });
},
handleCellClick(evt) {
formatDate(date, fmt) {
return format(date, fmt, { locale: this.t('formatLocale') });
},
scrollToSelected() {
formatDate(date, fmt) {
return format(date, fmt, { locale: this.t('formatLocale') });
},
initCalendar() {
formatDate(date, fmt) {
return format(date, fmt, { locale: this.t('formatLocale') });
},
isDisabled(date) {