Skip to content

Commit a0f42a2

Browse files
authored
Fixed small typo (#952)
Fixed small typo where the closing quotation was missing inside the `fromObject` documentation
1 parent 307b135 commit a0f42a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/duration.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export default class Duration {
216216
}
217217

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

0 commit comments

Comments
 (0)