You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.
Hi @skisor , the current version of deepEqual only counts for Arrays and generic Objects, so two Date objects are considered equal if they have the same set of own, enumerable and string-keyed properties. This will be fixed in the next version.
Try
is.deepEqual(new Date("2012-12-12T00:30:00.000Z"), new Date("2021-11-11T13:12:00.000Z"))
Expected
false
because dates are different (timestamps are 1355272200000 and 1636636320000)Actual
true
"is" version: 1.0.2
node: 6.2.0
The text was updated successfully, but these errors were encountered: