Skip to content
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.

alertmybanjos/jquery-relative-date

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

jQuery Relative Date

A jQuery plugin adapted from DHH's relative date helper for JS. I got tired of this not being a jQuery plugin, so here it is.

Usage:

<ul>
    <li><a href="#">Item 1</a> <span class="timestamp">12/05/2010 05:06:47</span></li>
    <li><a href="#">Item 2</a> <span class="timestamp">12/04/2010 00:16:38</span></li>
    <li><a href="#">Item 3</a> <span class="timestamp">12/02/2010 07:37:29</span></li>
</ul>
...
$('.timestamp').relativeDate();

About

DHH's relative date helper in jQuery flavor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published