matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.92k stars 2.66k forks source link

[Bug] In the Japanese version, the date in the real-time visit is missing the value for “year.” #22773

Open uedatakeshi opened 3 days ago

uedatakeshi commented 3 days ago

What happened?

In the Japanese version, the date and time of the visit is displayed as follows

2024年11月13日水曜日

This is “Wednesday, November 13, 2024”.

However, in the real-time visit, the year value in this display is missing.

年11月13日水曜日

What should happen?

If the real-time visit does not show the “year”, as in “Tuesday, November 19, - 01:56:34”,

11月19日火曜日 - 01:56:34

should be displayed as “Tuesday, November 19, - 01:56:34”.

How can this be reproduced?

Select “日本語” from the header menu.

Matomo version

5.1.2

PHP version

7.4.33

Server operating system

linux

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Computer operating system

No response

Relevant log output

No response

Validations

sgiehl commented 2 days ago

@uedatakeshi Thanks for creating this report. I actually think that this is on purpose. With English or any other language that widget won't include the year in the date there as well.