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:
Anik Dhabal BabuandPeer Richelsen authored and GitHub committed 2025-01-10 15:42:24 +05:30
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);