WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Relative Date

Display a relative date (e.g. "4 days ago")

Learn more about my version numbering methodology

2.0

  • Enhancement: Added a new option to automatically convert existing blog output to a relative date
  • Enhancement: After WP 4.6 the plugin text domain doesn't need to be loaded. So I don't!
  • Enhancement: Updated output to be WCAG 2.0 compliant at AA level
  • Maintenance: Squeezed all the files into just one, after realising it wouldn't be that big
  • Maintenance: Apart from the core code that generates the relative date most of the existing code has been re-written
  • Maintenance: Screenshots added and large swaths of the README re-written
  • Maintenance: The time period text ("hour", "second", etc) - both singular and plural versions - was missing from the language files. Now added

1.2.2

  • Maintenance: Added a text domain and domain path

1.2.1

  • Maintenance: Updated support forum link

1.2

  • Maintenance: Split code into separate files within an includes folder. Have a single root file that includes all the relevant code
  • Maintenance: Re-written README
  • Enhancement: Added new depth parameter
  • Enhancement: Added internationalisation

1.1.1

  • Maintenance: Removed dashboard widget

1.1

  • Bug: Now calculates current time properly - gets server time in GMT and applies GMT difference, as specified in user's WP options
  • Enhancement: New parameter added that allows user to change the divider used in output
  • Enhancement: User does not now need to pass any dates to the function - in this case the relative date for the current post/page will be returned
  • Enhancement: Renamed functions that user does not specify to avoid clashes with other plugins
  • Enhancement: Allow parameters to be specified in any order
  • Enhancement: Added useful links to plugin page

1.0

  • Initial release

Requires: 2.5 or higher
Compatible up to: 4.6.2
Last Updated: 2 months ago
Active Installs: 100+

Ratings

2 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
100,1,1
0,2,0
100,1,1
100,1,1