moment-interval
moment-interval copied to clipboard
Time intervals for Moment.js
The Broken URL is Broken. [URL](https://bitdeli.com/free)
in the fallback case when the environment doesn't support AMD or is not a Node environment, the wrong key `returnExports` is used.
Closes #11
Much easier than manual setup. See instructions here: https://github.com/bower/bower#registering-packages
[moment-range](https://github.com/gf3/moment-range#contains--within--overlaps--intersect--subtract) has a convenience function for it. I guess I can compare a given `date` with `start()` and `end()`.
Maybe something like this: ``` javascript toISOString: function() { return start.toISOString() + '/' + end.toISOString(); } ```