codegram / date_validator

A simple, ORM agnostic, Ruby >=2.2 compatible date validator for Rails, based on ActiveModel.
http://thoughts.codegram.com/date-validation-with-rails-3
MIT License
496 stars 82 forks source link

Add simple equality test for two dates #50

Closed markquezada closed 10 years ago

markquezada commented 10 years ago

In some cases I need to check if two dates are equal. I noticed that date_validator did most of the hard work of normalizing the two dates, but it didn't have this simple equality validator so I added it.

Let me know if you'd like me to change anything.

Note: I only updated the english locale.

oriolgual commented 10 years ago

@markquezada could you restart the build to check if it was a temporary issue with jruby or it's actually failing?

markquezada commented 10 years ago

@oriolgual I can't restart it directly since I don't have commit access to the repo so I just added an empty commit.

markquezada commented 10 years ago

Looks like a temporary issue with jruby. All is well now.

oriolgual commented 10 years ago

Yay, thanks!