Bug: comparison with previous year shows date in 2018, 2 years ago

Hi there,

I’m trying to compare All Visits with the same day a year ago. I click the date at the top of the main page, choose “day” as Period, click to select the “Compare” option, and choose “Previous year”. When I click Apply, the dates being shown are the day I chose, but the same day 2 years earlier.

This is clearly a bug.

When I choose a custom period and enter the day a year earlier, I get the expected result.

Hi there,
-> Could you create a bug report in our tracker at http://www.github.com/matomo-org/matomo/issues and we will follow up and investigate to find the root cause?

To help us troubleshoot would be helpful if you could list the steps to reproduce the issue.

Thanks!

Done.

Thank you!