Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date Range Picker #157

Open
akamil-etsy opened this issue Mar 23, 2023 · 1 comment
Open

Date Range Picker #157

akamil-etsy opened this issue Mar 23, 2023 · 1 comment

Comments

@akamil-etsy
Copy link

akamil-etsy commented Mar 23, 2023

does typesense adapter support Date Range Picker or something similar, basically being able to filter between two dates, or before/after certain date. is there any example how to do that with typesense

example from instantsearch.js

Screen Shot 2023-03-22 at 9 51 04 PM

also how can I add dates or date ranges as facets & refinements:
Screen Shot 2023-03-22 at 9 53 48 PM

@jasonbosco
Copy link
Member

It seems like the datepicker widget you shared just relies on the date being in a Unix timestamp format in the field you're using. So it should work out of the box with Typesense.

Let me know if you run into any issue, and I can take a closer look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants