[Bug] Failing "Matomo Test / UI (1)" - Date format must be: YYYY-MM-DD - given: compareDates%5B%5D=2011-31-12
#21755
Labels
c: Tests & QA
For issues related to automated tests or making it easier to QA & test issues.
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone
What happened?
New PR #20718 but "Matomo Test / UI (1)" failed in Github CI:
Failing query:
date=2012-01-01&module=API&format=json&method=API.getProcessedReport&apiModule=VisitsSummary&apiAction=get&compare=1&comparePeriods%5B%5D=day&compareDates%5B%5D=2011-31-12&format_metrics=1&segment=&idSite=1&period=day
What should happen?
Date format must be: YYYY-MM-DD
So
compareDates%5B%5D=2011-31-12
is invalid and instead must becompareDates%5B%5D=2011-12-31
How can this be reproduced?
Run "Matomo Test / UI (1)"
Matomo version
5.x-dev
PHP version
No response
Server operating system
No response
What browsers are you seeing the problem on?
No response
Computer operating system
No response
Relevant log output
Validations
The text was updated successfully, but these errors were encountered: