-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
What happened?
In visitor details summary, the date of First,Last visit doesn't respect the website timezone, see the screenshot below:
The website is configured with timezone="America/New_York". The timestamp of this visit (based on api response for the same data) is 1701734804. This is correctly converted to EST timezone in the visit details on the right (green underline), but is not converted to EST in visitor details on the left (red underline). I assume (based on the code, haven't tested) the same is true for Last Visit.
What should happen?
Under the described conditions, First Visit date (red underline) should display "Monday, December 4, 2023".
How can this be reproduced?
Set the website time zone to EST, visit the website for the first time between 19:00 EST and midnight EST.
Matomo major version
Matomo 4
Matomo minor or patch Version
4.15.1
PHP version
8.2.11
Server operating system
Linux
What browsers are you seeing the problem on?
Not applicable (e.g. an API call etc.)
Computer operating system
Linux, Windows
Relevant log output
No response
Validations
- Read our Contributing Guidelines.
- Follow our Security Policy.
- Check that there isn't already an issue that reports the same bug to avoid creating duplicates.
- The provided steps to reproduce is a minimal reproducible of the Bug.