moment-precise-range
moment-precise-range copied to clipboard
A moment.js plugin to display human-readable date/time ranges
i18n
Hi! I would like to use your library with internationalization so I was digging the code Did you notice that moment by itself has the strings your code needs to...
Added support for "weeks" so that 15 days becomes 2 weeks 1 day
Hello, it nice to find moment-precise-range, but it doesn't support i18n, so I added i18n support with monent relative time concept. One thing not good is that, now 'a' will...
Utilising Moment's durations, http://momentjs.com/docs/#/durations/ I would really love to be able to get back a precise duration. Kind of related to issue #9 but different.
Would be great to see this in a Bower package!
Hi, Is it possible you'll create it as a nuget package please? And also if you can add support to typescript that would be cool. Thanks, Clayton
"moment": "^2.29.4", "moment-precise-range-plugin": "^1.3.0", "vue": "^3.2.36", import * as moment from 'moment'; import 'moment-precise-range-plugin'; var days = moment("2014-01-01 12:00:00").preciseDiff("2015-03-04 16:05:06")