1.0.5 • Published 9 years ago

react-autoupdate-time v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

react-autoupdate-time

Renders a <time> element that autoupdates at a configurable interval.

var date = new Date();
<AutoupdateTime value={date} />

Set custom update interval (defaults to 3000 miliseconds).

var date = new Date();
<AutoupdateTime value={date} interval=1000 />

Uses moment.js internally to render a relative time e.g. "an hour ago".

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago