UK time WordPress plugin

This content is 16 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

Probably the only gripe that I have with my hosting provider is that the clock on their server is permanently set to UTC (i.e. no timezone changes for daylight saving – I’m told that’s normal practice for web hosting but it’s not something I’ve come across in my experience of corporate computing). Until recently that’s meant that, twice a year, I’ve had to tell WordPress to update the timezone offset but not any longer. You see, my buddy Alex (who also runs the company that provides my hosting) has written a WordPress plugin to handle UK time changes:

The UK Time plugin for WordPress checks the time of each post that’s being displayed, and if it falls inside the British Summer Time window the post time is incremented by 1 hour and you no longer need to change the UTC offset every March and October.

Of course, you may already have hundreds of posts spanning several years and you switched the UTC offset at the right time, so they already show the right time. That’s okay, they will still show the correct time.

I tested Alex’s plugin last weekend when the clocks changed and everything seems to be working just as I expected. UK-based WordPress users might want to give it a try.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.