Thanks for Matomo! And sorry form my bad English.
I have two WordPress sites with https://wordpress.org/plugins/matomo/
When I go to https://example.com/wp-content/plugins/matomo/app/ where you see the Matomo Dashboard, if I look at the calendar to choose the period to visualize, the year 2022 starts with January 1th on Friday, but it's Saturday. And you can't choose today in the calendar, as for example, today is 18h and I can choose only 17th or before.
The server time is ok: 2022-01-18 09:47:13
It should start January 1th on Saturday
It starts year 2022 starts with January 1th on Friday
Hi @rosa2
Thanks for reporting this issue. This might possibly be a timezone related issue. I checked that in my "normal" Matomo installation and there it seems to work correctly. Maybe this is a Matomo for Wordpress only issue. I'll move the issue to the according repo, so someone from the wordpress team can catch-up with you.
Thanks for reporting this @rosa2 Moving this to matomo
repository as it's likely an issue in Matomo core.
Can you let us know what timezone your WordPress installation is set to? To find out the needed information, can you go to WP Admin Dashboard -> Matomo Analytics -> System report
and locate the timezone
entries in the Server
section?
@sgiehl was the calendar already changed in 4.6 to vue? Just in case it's a regression.
Hello
My timezone in the server
Timezone | UTC
WP timezone | +02:00
Timezone version | 0.system
Time | 1642706890
I also tried to change the first day of the week in Wordpress (normally I have Monday) to Sunday, just in case, and it didn't change.
In the image that I uploaded you can see that the problem is in the time selector (January 17th maximum), but the entrances logged on the bottom show January 18th.
Thanks and have a good day :)
By the way, I am making a lot of propaganda on Matomo because the problems with Austria (and sure in EU soon) with Google Analytics! You are a perfect alternative! :penguin:
Hello again
I am very happy I am able to install Matomo for a new site.
This time is for html pages and I don't use any CMS.
I keep getting wrong the days distribution in the Matomo Dashboard calendar date selector.
February starts in it on Monday for 2022 and that is one day before because this year February starts in Tuesday.
Matomo Version | 4.7.1
In Diagnostic/System Check I get well the hour
Timezone Version | 0.system
PHP Timezone | UTC
PHP Time | 1644543107
PHP Datetime | 2022-02-11 01:31:47
Please, prioritize this task because now it is a very good moment for Matomo in the European Union.
Today I gave a class in a Communication Master in one Barcelona University and everybody was very happy to discover you.
And as always, thanks thanks thanks for this great tool :)
I add a screen capture where you can see the calendar.
@rosa2 Thanks for the update. Which timezone is the Matomo site configured for and in which timezone are yourself located?
Maybe that helps to reproduce that locally somehow.
both of us:
timedatectl
Local time: sáb 2022-02-12 11:54:23 CET
Universal time: sáb 2022-02-12 10:54:23 UTC
RTC time: sáb 2022-02-12 10:54:24
Time zone: Europe/Madrid (CET, +0100)
System clock synchronized: yes
NTP service: inactive
RTC in local TZ: no
Thanks and congratulations
https://matomo.org/blog/2022/02/france-google-analytics-gdpr-breach/
Would this year be the year Matomo? ;)
I am thinking now that here the first day of the week is Monday.
Maybe for testing you can set it like that.
Just in case.
Where does Matomo get the first day of the week?
I have changed from Monday to Sunday in /etc/default/locale
from
LC_TIME=es_ES.UTF-8
to
LC_TIME=en_US.UTF-8
and re-login.
My calendar now starts in Sunday, but in a new Matomo installation in my localhost I get Monday.
Thanks
At the end, I ask friends and they didn't have this problem. Today I saved a preference and the calendar started well. I imagine that it was something in the cache. Thanks a lot for your support and you can close this issue :)