Skip to content

Commit

Permalink
Fix docstring example reference typo (#1507)
Browse files Browse the repository at this point in the history
  • Loading branch information
pouwerkerk authored Sep 15, 2023
1 parent 35a50c2 commit 5ea19fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/duration.js
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ export default class Duration {
* Assuming the overall value of the Duration is positive, this means:
* - excessive values for lower-order units are converted to higher-order units (if possible, see first and second example)
* - negative lower-order units are converted to higher order units (there must be such a higher order unit, otherwise
* the overall value would be negative, see second example)
* the overall value would be negative, see third example)
* - fractional values for higher-order units are converted to lower-order units (if possible, see fourth example)
*
* If the overall value is negative, the result of this method is equivalent to `this.negate().normalize().negate()`.
Expand Down

0 comments on commit 5ea19fb

Please sign in to comment.