Fixup: datetime and date obj

This commit is contained in:
Tim Schubert 2018-04-18 16:11:20 +02:00
parent cce5313ba8
commit 5c56d0c3ba

View file

@ -30,7 +30,7 @@ class Deadline(yaml.YAMLObject):
}) })
def test(self): def test(self):
return self.time <= datetime.datetime.now() return self.time <= datetime.date.now()
class Course(yaml.YAMLObject): class Course(yaml.YAMLObject):