0.0.3 • Published 10 years ago

date-delta v0.0.3

Weekly downloads
-
License
-
Repository
github
Last release
10 years ago

date-delta

Lightweight Datetime Delta for JavaScript

Usage

This simply takes a date object and returns the time difference from now as a sentence.

var date = new DateDelta('2013-12-09');
data.fromNow();
// → about 1 day ago

This isn't meant to be a huge all inclusive library. If you need more functionality, checkout out Moment.js.

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago