Closed pediredla closed 6 years ago
moment.duration(-600, 'seconds').format('hh:mm', {stopTrim: 'h m', forceLength: true})
outputs 00:10 and not -00:10.
is this an expected behaviour?
Yikes! Nope, certainly not expected. Not sure why the existing negative duration tests don't catch this one, but I'll take a look.
moment.duration(-600, 'seconds').format('hh:mm', {stopTrim: 'h m', forceLength: true})
outputs 00:10 and not -00:10.
is this an expected behaviour?