From a37a07615b67c7f8ddc7e1c1f57375b5243e11e8 Mon Sep 17 00:00:00 2001 From: starnakin Date: Sat, 16 Dec 2023 12:19:09 +0100 Subject: [PATCH] ex00: fix valid date --- ex00/src/BitcoinExchange.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ex00/src/BitcoinExchange.cpp b/ex00/src/BitcoinExchange.cpp index b1883b2..791fe22 100644 --- a/ex00/src/BitcoinExchange.cpp +++ b/ex00/src/BitcoinExchange.cpp @@ -21,7 +21,6 @@ static bool is_leap(int year) static bool date_is_valid(int d, int m, int y) { - return false; if (m < 1 || m > 12) return false; if (d < 1 || d > 31)