Skip to content
This repository was archived by the owner on Aug 3, 2021. It is now read-only.
This repository was archived by the owner on Aug 3, 2021. It is now read-only.

Incorrect result of deepEqual for dates #7

@skisor

Description

@skisor

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions