Skip to content

dashboard bug when date=previous7, in Visits Over Time widget #12321

@mattab

Description

@mattab

in Personal settings, one can configure to open the dashboard with "Previous 7 days" default dates. For such choices, some widgets in the dashboard are not working and an error message is displayed instead of the graph: " Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information): 2017-11-26,previous7 "

-> the issue is that widgets receive the date=2017-11-27,previous7 parameter instead of just previous7

dashboard bug when date previous7 in visits over time widget

Reproducible at such URLs: index.php?module=CoreHome&action=index&idSite=1&period=range&date=previous7#?idSite=1&period=range&date=previous7&category=Dashboard_Dashboard&subcategory=1

Many other widgets affected as well

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.RegressionIndicates a feature used to work in a certain way but it no longer does even though it should.not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions