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

put the string 'now' instead of the current date in the querystring when it is today #157

Open
mpdehaan opened this issue Sep 24, 2019 · 0 comments
Labels

Comments

@mpdehaan
Copy link
Member

We tend to add the current date into the querystring so that when someone shares a bookmark, the user sees the same time range the person who linked it sees, forever.

This is well meaning, but isnt' always what someone wants to bookmark.

Rather, than doing this:

start=START_DATE_HERE&end=TODAYS_DATE

we should by default bookmark something like:

start=START_DATE_HERE&end=now

and the word "now" should be magic for "calculate today's date".

If the date is not specified in the querystring, the system should use "now" versus filling in the date, but if the user specifies the end date, it should be sticky.

Prereq for #72

@mpdehaan mpdehaan changed the title don't put the current date in the querystring put the string 'now' instead of the current date in the querystring when it is today Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant