From bfcbbc4388dda94bdc9d2bba8447efddc0015e20 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 22 Jan 2025 16:51:47 +0200 Subject: [PATCH] fix datepicker min date --- client/src/views/fields/date.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/fields/date.js b/client/src/views/fields/date.js index 4e5288b01f..2681c3315e 100644 --- a/client/src/views/fields/date.js +++ b/client/src/views/fields/date.js @@ -310,7 +310,7 @@ class DateFieldView extends BaseFieldView { const options = { format: this.getDateTime().dateFormat, weekStart: this.getDateTime().weekStart, - startDate: this.getStartDateForDatePicker() || this.getDateTime().toDisplayDate('1970-01-01'), + startDate: this.getStartDateForDatePicker(), todayButton: this.getConfig().get('datepickerTodayButton') || false, };