This commit is contained in:
Igor Dzuro 2020-03-27 05:22:48 +01:00
parent 14aafa21ec
commit 0b5878767f
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -21,9 +21,9 @@ int isleap(int y) {
} }
int datevalid(int d, int m, int y) { int datevalid(int d, int m, int y) {
if(y < min_yr || y > max_yr) { // if(y < min_yr || y > max_yr) {
return 0; // return 0;
} // }
if(m < 1 || m > 12) { if(m < 1 || m > 12) {
return 0; return 0;