My WordPress plugin, wp-days-ago, has been updated to version 3.1.1. The plugin displays the number of years, months, days, hours and minutes since a post or a page was published in the same format as Facebook, Twitter etc. Examples are “Just now” (less than a minute ago), “47 minutes ago” (less than an hour ago), “3 hours ago” (less than a day ago), “Yesterday”, “3 days ago”, “One week ago”, “3 months ago”, “3 months, 4 days ago”, “2 years, 13 days ago” and so on. It’s also possible to configure wp-days-ago to fall back to displaying the actual date and time when a post or page was published when a certain number of seconds after publishing time has been reached.
Cache plugins, like W3 Total Cache and WP Super Cache, are supported through the use of AJAX. This means that the plugin will show correct information even if the page is cached.
Changelog from 3.0.0 to 3.1.1 (many of these changes have been done in minor releases between 3.0.0 and 3.1.1, but the releases has not been announced on this site, only on the plugins page in the WordPress plugin repository) :
- Bugfix: Fixed an unfortunate bug where the number of days would be wrong in some cases if “yesterday” was configured not to be shown.
- Bugfix: Remove hard coded “cet” string that was showed when waiting for AJAX call to finish.
- New feature: Option to show number of hours instead of “yesterday” before 24 has passed. “Yesterday” don’t always make sense if you’re having an international audience. The default value is to show “yesterday”, so there is no need to change anything unless you want to use the new option. See the installation instructions for details.
- Added Persian (Farsi) translation (thanks to WordPress.org user famarini).
- Added Bengali translation (thanks to Mahmud, C.E.O, S. M. Foundation).
- Added French translation (thanks to Alondi Commanda, Alondi Consulting)
- Added Dutch translation (thanks to Marjolein Boer, Pixelein).
- Added Russian translation (thanks to Yuri from http://www.coinside.ru).
- Added Spanish (thanks to Andrew Kurtis, WebHostingHub), Turkish, Swedish and Norwegian (nynorsk) translations.
If you already have wp-days-ago installed you will be notified about an update when you log into the WordPress administration console. If you don’t have it installed you can download it from the WordPress plugin repository or from the WordPress plugin manager.