andrewmcveigh / cljs-time

A clj-time inspired date library for clojurescript.
342 stars 57 forks source link

IComparable and IEquiv not correct for goog.date.Date #69

Closed vikeri closed 8 years ago

vikeri commented 8 years ago

Currently .getTime is used to get the value that will be tested. But if the date was created using .setTime like in today comparison and equality test will not work correctly.

I am working on a patch that will solve this issue, will add some tests that shows this functionality. PR incoming.