Skip to content

Commit

Permalink
Fixed small typo (#952)
Browse files Browse the repository at this point in the history
Fixed small typo where the closing quotation was missing inside the `fromObject` documentation
  • Loading branch information
basilmahmood authored Jul 2, 2021
1 parent 307b135 commit a0f42a2
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 @@ -216,7 +216,7 @@ export default class Duration {
}

/**
* Create a Duration from a JavaScript object with keys like 'years' and 'hours.
* Create a Duration from a JavaScript object with keys like 'years' and 'hours'.
* If this object is empty then a zero milliseconds duration is returned.
* @param {Object} obj - the object to create the DateTime from
* @param {number} obj.years
Expand Down

0 comments on commit a0f42a2

Please sign in to comment.