From a0f42a284330781df0bbef1fcb9e47f09575b818 Mon Sep 17 00:00:00 2001 From: basilmahmood <34762950+basilmahmood@users.noreply.github.com> Date: Fri, 2 Jul 2021 18:27:16 -0400 Subject: [PATCH] Fixed small typo (#952) Fixed small typo where the closing quotation was missing inside the `fromObject` documentation --- src/duration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duration.js b/src/duration.js index 14c4e692e..4fcfa4bd2 100644 --- a/src/duration.js +++ b/src/duration.js @@ -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