VisitTime\Archiver.php


#1

I think someone mixed up a few items in the VisitTime\Archiver.php file. The aggregateByServerTime() function calls the convertTimeToLocalTimezone() function. Where I would think the aggregateByLocalTime() function should be the function calling the convertTimeToLocalTimezone() function.

Thank you for your time,


(Matthieu Aubry) #2

Hi Spere, it looks correct to me. are you noticing some data errors around dates/times ?


#3

I’m may just be confused about the labels. For me, and my group, we think that Local Time will be the time that we set in the time zone and the Server Time will be the UTC time that the log file stores. Our graphs seem to be the opposite where the local time graphs show the UTC time zone and the server time shows the time that we set the site time zone to be.


(Matthieu Aubry) #4

Local time shows the time in the Visitor local timezone

Server time shows the time of visits in your website’s timezone


#5

Do you all calculate the local time from the users IP address when improting hits from log files?