From ed5a33bc638ace3d9510b7a432c764c2cb4f8d11 Mon Sep 17 00:00:00 2001
From: Sampath <sam1120@outlook.com>
Date: Sun, 6 Feb 2022 07:26:17 +0530
Subject: [PATCH] Fixed calendarweek.py

---
 calendarweek/calendarweek.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calendarweek/calendarweek.py b/calendarweek/calendarweek.py
index 516f041..f02acf7 100644
--- a/calendarweek/calendarweek.py
+++ b/calendarweek/calendarweek.py
@@ -125,7 +125,7 @@ class CalendarWeek:
         return datetime.strptime("%d-%d-%d" % (self.year, self.week, n + 1), "%G-%V-%u").date()
 
     def __contains__(self, day: date) -> bool:
-        return self.__class__.form_date(day) == self
+        return self.__class__.from_date(day) == self
 
     def __eq__(self, other: CalendarWeek) -> bool:
         return self.year == other.year and self.week == other.week
-- 
GitLab