pretty-date-duration
v1.0.4
Published
This module lets you show the time Humanize Duration.
Downloads
4
Readme
pretty-date-duration
This module lets you show the time Humanize Duration.
Install
$ npm install pretty-date-duration
Basic usage
var prettyDate = require('pretty-date-duration')
prettyDate('2018-06-12','2018-06-13') // '1 day'
Parameters
It needs 2 parameter start date and end date. prettyDate(start_date,end_date)