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

visitServerHour segment should convert segment value from website's timezone to UTC #7182

Open
tsteur opened this issue Feb 11, 2015 · 0 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@tsteur
Copy link
Member

tsteur commented Feb 11, 2015

In the UI we do display the "visits by server time" in the website's timezone but when applying the visitServerHour segment we need to pass the hour value in UTC.

Eg imagine in the UI we do display 13h => 15 visits. Using the segment visitServerHour=13 will not show you those 15 visits but depending on the website's timezone a completely different result. This is not really user friendly.

Instead we need to transform the hour 13 to the actual hour in UTC. This is currently not easily possible since the callbacks like sqlFilterValue do not get the idSite yet.

@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label Feb 11, 2015
@mattab mattab added this to the Mid term milestone Feb 19, 2015
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants