"last n" timeDimension range short by 1 day for n > 1 #3451
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Community contributions are welcome.
Describe the bug
Running a "last n months" timeDimension query returns a dateRange that is short by 1 date when n > 1.
To Reproduce
Expected behavior
Expect the dateRange in the response of 'last 2 months' query to be:
Screenshots
If applicable, add screenshots to help explain your problem.
Version:
"@cubejs-backend/cubestore-driver": "^0.27.2",
"@cubejs-backend/postgres-driver": "^0.27.2",
"@cubejs-backend/server": "^0.27.3",
"@cubejs-backend/serverless": "^0.27.3",
"@cubejs-backend/serverless-aws": "^0.27.3",
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: