Skip to content
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

serverTimePretty 8 hours behind actual recorded time in Live.getLastVisitsDetails results #13974

Closed
kkoch3 opened this issue Jan 18, 2019 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@kkoch3
Copy link

kkoch3 commented Jan 18, 2019

In the Live.getLastVisitsDetails method of the Reporting API, I noticed that the serverPrettyTime field is off by 8 hours (behind the actual time). Attached is a json file with the results. In the file, the lastActionDateTime reflects the correct hour that is recorded in the Matomo database.

serverPrettyTimeBug.log

@kkoch3 kkoch3 changed the title serverTimePretty off by 8 hours Live.getLastVisitsDetails serverTimePretty 8 hours behind actual recorded time in Live.getLastVisitsDetails results Jan 18, 2019
@mattab
Copy link
Member

mattab commented Jan 21, 2020

This is probably because this time is actually in the timezone in which your website is created, so this time is not in UTC. I'll close this but if you find a different behavior, feel free to re-open.

There still seems to be a bug somewhere since there is also this bug: #14504

@mattab mattab closed this as completed Jan 21, 2020
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants