Skip to main content Skip to navigation

timeago

Demo

jQuery(document).ready(function() { jQuery("abbr.timeago").timeago(); });

This will turn all abbr elements with a class of timeago and an ISO 8601 timestamp in the title:

<abbr class="timeago" title="2008-07-17T09:24:17Z">July 17, 2008</abbr>
July 17, 2008

<abbr class="timeago" title="2016-08-20T09:24:17Z">August 20, 2016</abbr>
August 20, 2016

Your next EC109 lecture is August 20, 2016

You have an upcoming contact point August 20, 2016

Your coursework submission for EC226 is due August 20, 2016