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

Add date filter #1

Open
SplittyDev opened this issue Aug 11, 2024 · 0 comments
Open

Add date filter #1

SplittyDev opened this issue Aug 11, 2024 · 0 comments

Comments

@SplittyDev
Copy link
Member

Possible implementations:

  • ?filter[startDate]=2024-08-11T02:00:00.000Z
  • ?filter[startDate]=2024-08-10T00:00:00.000Z&filter[endDate]=2024-08-11T00:00:00.000Z
  • ?filter[windowSize]=30 (filter window size in days)

As a human, the window size seems to be the easiest to use. But in a real-world analysis client, the developer would probably want explicit control over the dates, so I'm guessing the startDate and endDate thing would probably be best.

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

1 participant