ex00: fix valid date

This commit is contained in:
starnakin 2023-12-16 12:19:09 +01:00
parent 9965c6d49d
commit a37a07615b

View File

@ -21,7 +21,6 @@ static bool is_leap(int year)
static bool date_is_valid(int d, int m, int y) static bool date_is_valid(int d, int m, int y)
{ {
return false;
if (m < 1 || m > 12) if (m < 1 || m > 12)
return false; return false;
if (d < 1 || d > 31) if (d < 1 || d > 31)