chriso/node-validator — pull request #132 by chuyeow (2012-11-22 03:44:29+00:00)
Title: Make isBefore() and isAfter() checks really non-inclusive

As mentioned in #97, the `isAfter()` and `isBefore()` checks are *non-inclusive*, i.e.
```
var now = new Date();
check(now).isAfter(now); // => should return false
```
In reality, the 2 checks are actually *inclusive*, meaning that the `isAfter()` check above actually returns true as proven by the tests included in my pull request.

This commit 840836f2 removes same-day tests but forgets to test for the same-day edge case. I've put back the tests and also made the checks non-inclusive.