ragunathjawahar / android-saripaar

UI form validation library for Android
Apache License 2.0
3.22k stars 460 forks source link

@Past - Wrong validation #202

Open hrossi opened 7 years ago

hrossi commented 7 years ago

I'm using the @Past annotation like this:

@Past(dateFormat = "dd/MM/yyyy", messageResId = R.string.validation_invalid_birth_date)

When I input a invalid month/year, the lib accept that, for example:

Input: 35/35/1900 Result Date: Fri Dec 05 00:00:00 BRT 1902