Skip to content

Packaged for Meteor: Livestamp.js, a simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js

Notifications You must be signed in to change notification settings

yee379/meteor-livestamp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livestamp.js for Meteor

Livestamp.js, a simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js, packaged for Meteor.

Installation

meteor add copleykj:livestamp

Usage

A template helper is included to compensate for the initial delay when using livestamp alone.

<p>{{livestamp date}}</p>

You can also use plain html with the data-livestamp attribute as per livestamp documentation.

<span data-livestamp="2013-12-24T08:14:42.345Z"></span>

About

Packaged for Meteor: Livestamp.js, a simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%