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.