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

enhancement: human-friendly dateRange in the URL params #101

Open
danielsgriffin opened this issue Aug 8, 2024 · 0 comments
Open

enhancement: human-friendly dateRange in the URL params #101

danielsgriffin opened this issue Aug 8, 2024 · 0 comments

Comments

@danielsgriffin
Copy link
Contributor

Description

Currently:

{"gt":"2024-08-09T07:00:00.000Z","lt":"2024-08-10T07:00:00.000Z"}

is directly encoded to:
%7B"gt"%3A"2024-08-09T07%3A00%3A00.000Z"%2C"lt"%3A"2024-08-10T07%3A00%3A00.000Z"%7D

This is difficult to quickly understand.

An enhancement would be using terms like dataStart, since, from and dateEnd, until, before (this may also allow users to conduct one-sided date ranges without inserting 1971 or today as the other dates.

See this thread for more variations: https://twitter.com/danielsgriffin/status/1163933078076579840

Target(s)

<replace w/ one or more of the following options: server, search, chat>

Requirement to close

PR that provides human-friendly dateRange in the URL params.

Community channels

Matrix is preferred. Reach out on discord or Matrix for further assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants