We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f71fa6a commit 20bee4aCopy full SHA for 20bee4a
src/Date/Calendar.tsx
@@ -140,7 +140,7 @@ function Calendar(
140
const sd = startDateRef.current
141
const ed = endDateRef.current
142
let isStart: boolean = true
143
- if (sd && !ed && dateToUnix(d) > dateToUnix(sd!)) {
+ if (sd && !ed && dateToUnix(d) >= dateToUnix(sd!)) {
144
isStart = false
145
}
146
;(onChangeRef.current as RangeChange)({
0 commit comments