Per https://github.com/wordpress-mobile/WordPress-iOS/issues/12018 I expect the stats in the app to use the site's timezone.
The stats are using the UTC offset from the site's timezone AND the device timezone. For example:
A user reported seeing this when their stats showed the wrong day. The site is set to UTC-4, and the device is in UTC-4, but the stats didn't update to the next day until 4:00 AM (which matches a UTC-8 timezone).
Site timezone UTC-10, Device timezone UTC+1 (wrong date showing):

Site timezone UTC-11, Device timezone UTC+1 (right date showing):

User report (internal ref): 2282987-zen
cc @ScoutHarris
We have another user report (internal ref: 2292216-zen) of what looks like the same problem. In this case, the user is in Australia with the site set to Sydney time (UTC+10) and in the afternoon the stats start showing the following day.
Thanks for this report @rachelmcr. We'll try and look at this as soon as we can – probably next week.
User report on iPad as well as iPhone app after upgrade to version 13 (internal ref #14474802-hc)
Another user report where they see UTC (day before) while their site is set to New York (#2290233-zen)
Another report in #2298544-zen. Site and phone are both set to UTC+2, and the stats show the next day (0 visitors, 0 views) late in the evening.
@thehenrybyrd this should be fixed in 13.1 with https://github.com/wordpress-mobile/WordPress-iOS/pull/12363.
@ScoutHarris user still reports issue after updating to 13.1 in 2298544-zen
Hi, after yesterday's update (v. 13.1) I've been waiting until 10 PM to see if the problem with statistics/date still persists. Unfortunately, no matter if the websites are set at UTC+2 or choosing the city, like Zagreb, app switches stats at 10 PM
Ping @danielebogo
also reported in 2302754-zen
Thanks everyone! I'm trying to fix it as soon as possible!
Another report in 2303966-zen
Report in 2307756-zen
also reported in 2314174-zen
This should be fixed as of version 13.1.1. @melindahelt if you get word that updating to 13.1.1 doesn't resolve it for that report, please let us know!
@rachelmcr I have a report in 2327764-zen that updating to 13.1.1 did not solve the issue.
But I’ve updated the app to version 13.1.1 and timezone is still not in synch. Then I uninstalled and reinstalled the app just now but same result.
Local time and site’s time both at +8 UTC but I’m seeing next day stats already.
Any suggestions?
Thanks @melindahelt! I tested with my device set to Manila time and my site set to Manila time (both UTC+8) and couldn't reproduce the issue, even though it's the right time of day for the issue to be reproduced in that time zone.
Here's what I tested:
develop branchdevelop branchIn each case, the stats showed the correct day (not the next day's stats).
Could you gather as much detail as possible from this user about their site and device setup? That includes:
It's possible there's another factor that can cause the issue to still appear, but without more details about the site/device setup it's hard to say what might cause it.
@melindahelt Actually, you can hold off on that additional investigation — there were some issues with the 13.1.1 and 13.2 releases, so the complete fix for this issue will be in the next release. Please ask the user to stay tuned and we should have this sorted out in the next update in the app store.
adding 2334102-zen that is running 13.2 and reporting the same issue. Going to have them hold off for the next update!
Most helpful comment
@thehenrybyrd this should be fixed in 13.1 with https://github.com/wordpress-mobile/WordPress-iOS/pull/12363.