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.
Currently
.getTime
is used to get the value that will be tested. But if the date was created using.setTime
like intoday
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.