johnpolacek / date-range-picker-for-shadcn

DateRangePicker is a reusable component for shadcn using Radix UI and Tailwind CSS. Includes preset date ranges, text entry, calendar selection and date comparison
https://date-range-picker-for-shadcn-demo.vercel.app/
MIT License
643 stars 24 forks source link

Date "to" time #13

Open NeilRow56 opened 5 months ago

NeilRow56 commented 5 months ago

The date picker "to" range starts at 0.0.0.0 on the date selected, therefore it misses transactions for that date I think. The presets for today, 7 days etc; are all set to to.setHours(23, 59, 59, 999) but if I change the "to" item to this value in the component it does not appear to work.