luisfarzati / moment-interval

Time intervals for Moment.js
MIT License
48 stars 20 forks source link

add interval.toISOString() method #7

Open dfliess opened 10 years ago

dfliess commented 10 years ago

Maybe something like this:

toISOString: function() {
      return start.toISOString() + '/' + end.toISOString();
}
theduderog commented 10 years ago

+1 I created a pull request for this: https://github.com/luisfarzati/moment-interval/pull/8