fix: date filter for the same day showing appointments of the day before (#18579)
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
88c8ad8b5c
commit
d4d5ac2b28
2 files changed
+3
-3
No files matched your search
@@ -40,7 +40,6 @@ export const StartTimeFilters = () => {
|
||||
minDate={null}
|
||||
dates={{ startDate: startValue, endDate: endValue }}
|
||||
onDatesChange={(values) => {
|
||||
console.log(values);
|
||||
const newAfterStartDate = values.startDate ? dayjs(values.startDate) : undefined;
|
||||
const newBeforeEndDate = values.endDate ? dayjs(values.endDate) : undefined;
|
||||
setAfterStartDate(newAfterStartDate);
|
||||
|
||||
Reference in new issue
Block a user