New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report for "today" is not the same as report for any date explicitly selected #13786
Comments
from which version did you update @mskala ? maybe you have any thoughts @diosmosis ? |
As far as I know, the previous version (3.6.1). |
Think this was an issue before 3.6.1, not sure why it's come back. @mskala could you tell me what your computer's timezone is and what the website's timezone is? I can try and reproduce the issue. |
Both are "America/Toronto". |
Am able to reproduce the issue, looking into it now. |
@mskala created a fix in this PR: #13787 |
I don't think it's completely fixed after all. The "Visits Over Time" graph is still showing yesterday as the most recent day now (shortly after midnight) even though the drop-down date widget has updated to the new date; and, as before, manually selecting today's date gives a different result showing the current day's data in the graph. |
I have my Matomo dashboard set to default to "today", and the string "today" appears in a query field of the URL when I go to the dashboard. When I go to the dashboard, I get the current day's stats under "Visits overview" but the previous day's graph under "Visits over time," and the previous day's date is shown in the drop-down date selector widget. But if I manually select the current date, I get the current date shown in the URL and the date selector, and the graph shows today's statistics. Choosing the string value "today" as a default has a different effect from explicitly selecting the current date; some parts of the dashboard use the previous day's date when "today" is the default.
See screenshot - Matomo is configured to use "today," as seen in the URL; and as seen in the live visitor log, today is December 1; but the date-selector widget has defaulted to November 30.
I don't believe that this is caused by a time zone issue; all my time zones match, and all aspects of it appear to roll over at midnight local time every day. It seems to be new behaviour in 3.7.0; the previous version correctly showed today's stats in all parts of the dashboard when so configured.
The text was updated successfully, but these errors were encountered: