diff --git a/src/util.js b/src/util.js index 5bf4fd16..3d0e6396 100644 --- a/src/util.js +++ b/src/util.js @@ -171,7 +171,7 @@ util.convert = function convert(object, type) { return moment(object.valueOf()); } else if (moment.isMoment(object)) { - return moment(moment); + return moment(object); } if (util.isString(object)) { match = ASPDateRegex.exec(object);