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

Daterange, default values overwrite Today #279

Open
latchee opened this issue Jun 18, 2020 · 0 comments
Open

Daterange, default values overwrite Today #279

latchee opened this issue Jun 18, 2020 · 0 comments

Comments

@latchee
Copy link

latchee commented Jun 18, 2020

Hi there,
I have configured a report with daterange variable like this:
VARIABLE: { "name": "range", "type": "daterange", "default": { "start": "-1 year", "end": "now" }, display: "Time range" }
When I open the report the first time, default values are loaded as expected. But when I click on today, it reverts to default (in my case 1 year range).
image
Work around is to click on yesterday (or any other time range) and then back to today, then range will effectively be for "today".
Could this be a bug?
Cheers,

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