From 0c4055ffa1d6b87e785af3799a1d876e0e2e81cc Mon Sep 17 00:00:00 2001 From: Isaac Cambron Date: Tue, 6 Aug 2013 03:32:59 -0400 Subject: [PATCH] removing extra s in get() and set() --- moment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moment.js b/moment.js index bdf3c0d47..23b74dc57 100644 --- a/moment.js +++ b/moment.js @@ -1508,12 +1508,12 @@ get : function (units) { units = normalizeUnits(units); - return this[units.toLowerCase() + 's'](); + return this[units.toLowerCase()](); }, set : function (units, value) { units = normalizeUnits(units); - this[units.toLowerCase() + 's'](value); + this[units.toLowerCase()](value); }, // If passed a language key, it will set the language for this -- 2.47.2