From 46bdce6bd97956088e932ba1ca359bac71ca3f06 Mon Sep 17 00:00:00 2001 From: Andrew Hankinson Date: Thu, 12 Sep 2024 15:40:50 +0200 Subject: [PATCH] Fixed: return type of statement --- edtf/parser/parser_classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edtf/parser/parser_classes.py b/edtf/parser/parser_classes.py index ad690fb..c334ee9 100644 --- a/edtf/parser/parser_classes.py +++ b/edtf/parser/parser_classes.py @@ -28,7 +28,7 @@ PRECISION_DAY = "day" -def days_in_month(year: int, month: int) -> dict: +def days_in_month(year: int, month: int) -> int: """ Return the number of days in the given year and month, where month is 1=January to 12=December, and respecting leap years as identified by