ex00: fix valid date
This commit is contained in:
parent
9965c6d49d
commit
a37a07615b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user