Skip to content

Commit

Permalink
fix return type of DateTime.until() (Duration -> Interval) (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnizet authored and icambron committed Feb 18, 2018
1 parent 1a139e6 commit fa5136f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datetime.js
Expand Up @@ -1566,7 +1566,7 @@ export class DateTime {
/**
* Return an Interval spanning between this DateTime and another DateTime
* @param {DateTime} otherDateTime - the other end point of the Interval
* @return {Duration}
* @return {Interval}
*/
until(otherDateTime) {
return this.isValid ? Interval.fromDateTimes(this, otherDateTime) : this;
Expand Down

0 comments on commit fa5136f

Please sign in to comment.