Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
Showing only changes of commit 778fecabb6 - Show all commits

View File

@ -52,7 +52,7 @@ class Jour:
"""
Renvoie True si le jour est dans la semaine courante
"""
return self.date.isocalendar()[1] == datetime.date.today().isocalendar()[1]
return self.date.isocalendar()[0:2] == datetime.date.today().isocalendar()[0:2]
def get_date(self) -> str:
"""