react-timeago

A simple time-ago component for ReactJs.

Changes in V3.X:

minPeriod and maxPeriod now accept seconds not milliseconds. This matches the documentation.
react-timeago now uses ES6 modules. So if you don't use ES6, your code will go from :

var TimeAgo = require('react-timeago')

to:

var TimeAgo = require('react-timeago').default

ES6 imports will obviously continue to work just fine:

import TimeAgo from 'react-timeago'

GitHub