Revert "maybe fix #8243"

This reverts commit 9bf00312c5.
pull/8310/head
Thibault Duplessis 2021-03-02 19:42:47 +01:00
parent 94ba928080
commit 7dc33f9211
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ lichess.load.then(() => {
altFormat: 'Y-m-d h:i K',
};
flatpickr(this, {
minDate: new Date(),
minDate: 'today',
maxDate: new Date(Date.now() + 1000 * 3600 * 24 * 31 * 3),
monthSelectorType: 'static',
disableMobile: true, // https://flatpickr.js.org/mobile-support/ https://github.com/ornicar/lila/issues/8110