The WordPress.com Stats plugin is a handy little tool for your WordPress blog — it tracks visitor numbers, which Posts they visit, and offers a useful graph so you can see trends by day, week or month.
It’s always been a bit of a mystery though to figure out when the ‘day’ rolled over. I’d assumed it was tied to a US timezone, since WordPress has its home in the US. Not so, apparently:
I swear it was Matt’s idea to store stats data as daily summaries in Universal Coordinated Time (UTC), which is why stats days have always ended at odd hours for non-Greenwichians. But even if I seem blameless, I failed to champion your cause soon enough. It is even more my fault than Matt’s.
And so today I present a gift. If you have set your blog’s time zone, your stats reports will honor that setting (in whole hours from -12 to +14). This upgrade is retroactive to the beginning of 2009. It affects all blogs using WordPress.com stats, even self-hosted blogs using the Stats plugin (version 1.4).
This is also a good reminder to check that you have your blog’s timezone set correctly, especially since you may have recently moved into or out of Daylight Savings Time for your locality.
To check your WordPress blog’s timezone
- Log in to your blog’s Dashboard
- Click on the Settings > General link.
- Select a timezone from the Timezone dropdown menu.
- Click the Save Changes button at the bottom of the General Settings window.
- Add a note to your calendar or diary software to change it again next time you put the clocks forward or back.