1.0.4 • Published 6 years ago

pretty-date-duration v1.0.4

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

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)

Credits

License

The MIT License