|
@ -171,7 +171,7 @@ util.convert = function convert(object, type) { |
|
|
return moment(object.valueOf()); |
|
|
return moment(object.valueOf()); |
|
|
} |
|
|
} |
|
|
else if (moment.isMoment(object)) { |
|
|
else if (moment.isMoment(object)) { |
|
|
return moment.clone(); |
|
|
|
|
|
|
|
|
return moment(moment); |
|
|
} |
|
|
} |
|
|
if (util.isString(object)) { |
|
|
if (util.isString(object)) { |
|
|
match = ASPDateRegex.exec(object); |
|
|
match = ASPDateRegex.exec(object); |
|
|