Skip to content

Daterange, default values overwrite Today #279

Description

@latchee

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,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions