JB Friendly


Joel Bradbury

3rd Party (Free)

36 downloads (last 90 days)

EE Version Support

  • ExpressionEngine 1.x
  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



Convert date, relative to another to a user friendly format. EE1.x and EE2.x compatible.

Basic usage

My prefered tag usage goes like so:

    {exp:jb_friendly entry_date="{entry_date}"}
         This entry was posted {friendly} {direction}

That will generate the date in a friendly format (including handling future/past dates) and wrap the full date in the abbreviation, since (or until) now, and the datetime provided.

If you’d like to do the friendly date between a different period just supply the tag like so:

    {exp:jb_friendly entry_date="{comment_date}" relative_date="{entry_date}"}
        This comment was posted {friendly} after the article


1) Entry Date


    The only required tag. The date you want the time since/until. If none is supplied, the plugin will bail out and return an empty string. Supplied unformated.

2) Relative Date


defaults to now

    Optionally calculate the period between the entry date and another time. If none is supplied the system will calulate the period between now and the entry_date.

3) Stop After

      stop_after="1 month"

defaults to “never”

    Because of the wordy nature of the formatting, periods progressivly loose there accuracy the larger they get. Using this tag you can stop the dates turning into words after a set length. The valid options are :
o stop_after=“1 day”
o stop_after=“1 week”
o stop_after=“1 month”
o stop_after=“1 year”

    When the period is older than that, the tag friendly will naturally become the full date, formated. (Using the default date formatting style, modifyable via the date_format tag (see next))

    If no stop_after param is supplied, the plugin will keep generating wordy periods for all dates.

4) Default Full Date Format


defaults to “%F %d%S, %Y”

    Optionally alter the standard date_format. The default is returns in the form “August 19th, 2010”. Uses the exact same date formatting tags as every other date formatting tag.


1)    {friendly}

    The date period in friendly words. (English only at the moment).

2)  {direction}

    If the time period is in the past, returns “ago”. If it is in the future “to go”. If the time period is longer than the stop_after paramter supplied, the {direction} will return nothing.

3)    {full_date}

    The entry_date tag in full formated style. ie. “August 19th, 2010”

Download JB Friendly

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.2 Aug 15, 2011
Not Specified Download Aug 15, 2011

JB Friendly Links

This entry was created March 14, 2011, 10:38 am.
This entry was last updated August 15, 2011, 12:57 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!