timrwood/moment — pull request #267 by damienwhaley (2012-04-08 06:19:46+00:00)
Title: Fix for issue 261.

It appears when you are working with two moment objects and you take the diff, the input moment's _isUTC is ignored when you parse the input into inputMoment. I've done a check to see if it looks like a moment object (by checking the _isUTC to see if it is defined) and if it is, then it just copies the input rather than parsing it. I think it should work fine on regular date objects as there is no _isUTC member.