jwaliszko / ExpressiveAnnotations

Annotation-based conditional validation library.
MIT License
351 stars 123 forks source link

Not possible to test for two days on the same date. #24

Closed StandBackBurrito closed 10 years ago

StandBackBurrito commented 10 years ago

I would like to be able to test if two dates are fall on the same calendar date.

I added a utility function called IsSameDay, but I am curious if there is a way to do this currently.

As a side note how do you run your javascript unit tests?

Thanks for the great lib! -justin