Time zone issue
-
I noticed stats are not updating properly at my local time. By default is still UTC.
I tried changing the time zone to another location and then I put the time zone back to my current location but it doesn’t work.
The page I need help with: [log in to see the link]
-
Hi there,
How can you tell that they’re not updated correctly? Stats get the timezone from your WordPress installation (Dashboard > Settings > General).
I know but when I go to wordpress.com and I see the stats for a specific post at 8pm on my local time (12am UTC), the stats shows up 0 for the next day already. Then, 4 hours later the stats starts counting again.
Can you please check the timezone in your WordPress.com dashboard as well (https://wordpress.com/settings/general/)?
Of course, I’ve checked it before and it’s ok.
I think I need a function to discount 4 hours. I’ve used another plugin which also counts the views at universal time and I put
strtotime ('-4 hours')and worked.That’s nice to know. What plugin did you used?
Please try a little trick with the timezone and let me know how it goes.
1. Go to the Timezone and set the time zone to another location. Click save.
2. Return to the Timezone and set the time zone back to your current location. Click save again.Also, are you’re using your computer or a mobile device (phone, tablet) to view the stats?
I tried that trick before I came here from my site’s wp-admin, wordpress.com and also from the wordpress app but nothing changes. My timezone is well synced!
And I use PC and 2 phones. I got the app for android in both devices, but as I said, everything is synced properly.
Just to double-check, at Settings > General in your timezone, is it set correct, and most importantly, is the displayed time there correct?
Of course. My local and universal time are ok (4 hours difference). But Jetpack still uses UTC by default.
What do you mean that both your local and universal time are set correctly? You should only see only one timezone, yours, not UTC.
Would you please contact us via https://jetpack.com/contact-support/?rel=support so we can take a closer look?
I also did and they e-mail me: “We have started new sync of the data between your website and our servers which should help with the Stats issue”.
Ok, let’s continue via email.
The topic ‘Time zone issue’ is closed to new replies.