Package Exports
- beautiful.ms
- beautiful.ms/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (beautiful.ms) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
beautiful.ms
Easily convert milliseconds to a human-readable date string
Usage
require('beautiful.ms')(duration)Code example
console.log(require('beautiful.ms')(2792693691263)) // 8 decades, 8 years, 5 months, 4 weeks, 15 hours, 44 minutes and 51 secondsChange logs
1.0.2 => 1.0.3
1. Fixed the output returning days as months + extra days, hopefully the last bug to be found on this package 1.0.1 => 1.0.2
1. Made the package return more in-depth results
2. Fixed the problem that made the package return totally invalid results