mirror of
https://github.com/nelsbrock/NateMan.git
synced 2026-08-14 21:36:49 +02:00
Jinja-Macros separiert und time-Tags hinzugefügt
This commit is contained in:
@@ -182,12 +182,6 @@ class Klausur(db.Model):
|
||||
def __str__(self):
|
||||
return f"{self.kursname}, {self.stufe.name} (ID:{self.id})"
|
||||
|
||||
def date_formatted(self) -> str:
|
||||
"""
|
||||
:return: Klausurdatum als String im Format WW, DD.MM.YYYY (siehe util.format_date)
|
||||
"""
|
||||
return util.format_date(self.date)
|
||||
|
||||
def is_bygone(self):
|
||||
"""
|
||||
:return: ``True``, falls diese Klausur vergangen ist, ``False``, falls nicht
|
||||
|
||||
Reference in New Issue
Block a user