We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 016be9a commit 4e02963Copy full SHA for 4e02963
src/components/inputs/date-time-input/date-time-input.js
@@ -13,7 +13,6 @@ import Constraints from '../../constraints';
13
import messages from './messages';
14
import filterDataAttributes from '../../../utils/filter-data-attributes';
15
import {
16
- getDaysInMonth,
17
changeTime,
18
formatTime,
19
getDateInMonth,
@@ -99,7 +98,7 @@ class DateTimeInput extends React.Component {
99
98
calendarDate: today,
100
highlightedIndex:
101
prevState.suggestedItems.length +
102
- getDaysInMonth(today, this.props.timeZone) -
+ getDateInMonth(today, this.props.timeZone) -
103
1,
104
}),
105
() => this.inputRef.current.focus()
0 commit comments