MM-52881: Fix date picker selected day (#23391)

Этот коммит содержится в:
LeonardJouve
2023-06-14 18:51:37 +02:00
коммит произвёл GitHub
родитель 8e13e7fffe
Коммит c7895c6f41
2 изменённых файлов: 31 добавлений и 1 удалений

Просмотреть файл

@@ -145,7 +145,8 @@ const DateTimeInputContainer: React.FC<Props> = (props: Props) => {
const datePickerProps: DayPickerProps = {
initialFocus: isPopperOpen,
mode: 'single',
selected: currentTime,
selected: time.toDate(),
defaultMonth: time.toDate(),
onDayClick: handleDayChange,
disabled: [{
before: currentTime,