This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Local Time


Displays post and comment date and times in the visitor’s timezone using Javascript. No theme modifications are needed.

Heavily based on code from the P2 theme by Automattic.


Check out one of my sites to try it yourself. All of the dates and times on the site are GMT+0 but will be displayed in your timezone once the page is fully done loading.


Visit Plugins → Add New in your administration area and search for the name of this plugin.

Contributors & Developers

“Local Time” is open source software. The following people have contributed to this plugin.


Translate “Local Time” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


Version 1.2.1

  • Fix bug affecting the post time functions. Whoops.

Version 1.2.0

  • Make use of HTML data attributes instead of nested and hidden <span>s to store the additional data.
  • Move the Javascript all into one .js file so it can be cached.
  • Rewriting of the filters to reduce code duplication.

Version 1.1.5

  • Have the Javascript set the date and/or time’s title value to “This date and/or time has been adjusted to match your timezone” so the user knows it’s been adjusted.

Version 1.1.4

  • Move the is_feed() check later so it’ll actually work.

Version 1.1.3

  • Missing parenthesis was causing a parse error. Whoops!

Version 1.1.2

  • Disable only for the new version of P2.
  • Disable if the WPTouch plugin is active and displaying it’s theme (this plugin breaks with it).
  • Disable inside of feeds.

Version 1.1.1

  • If the time format is U (i.e. a Unix timestamp), then don’t modify the output as it’s most likely being used by PHP rather than being displayed.

Version 1.1.0

  • Add localization for comment dates and times.

Version 1.0.0

  • Initial release.