...Specify which days should be selected in your component’s state. Use your own translation strings or import those from moment.js, if you use it. react-day-picker is designed to cover the most common needs for a date picker in webapplications. This package includes the DayPicker component to render the calendar (see: basic concepts, API), and the DayPickerInput component to render an input field opening the DayPicker in an overlay.
timeago.js is a tiny(2.0 kb) library used to format dates
...Avoid timestamps dated "1 minute ago" even though the page was opened 10 minutes ago; timeago refreshes automatically. You can take full advantage of page caching in your webapplications, because the timestamps aren't calculated on the server. Very tiny(less than 2kb), and has no dependency, e.g. jQuery.