I have two valid Moment
instances: endDateTime
and startDateTime
. endDateTime
is earler than startDateTime
. Why isBefore
always returns false
and isSame
always returns true
?
Instances created by 3rd party library ‘Angular Material Datepicker’.
Example of objects comparison: