Fix (tab. doš. řešení): strftime vyhazuje datum bez paddingu nul, tak tam nakódíme string…
This commit is contained in:
parent
009cd49f37
commit
a03c9a3369
1 changed files with 1 additions and 2 deletions
|
@ -155,8 +155,7 @@ class OdevzdavatkoTabulkaFiltrForm(forms.Form):
|
||||||
|
|
||||||
result = []
|
result = []
|
||||||
|
|
||||||
result.append((
|
result.append(("0001-01-01", f"Odjakživa"))
|
||||||
strftime(DATE_FORMAT, datetime.date.min.timetuple()), f"Odjakživa"))
|
|
||||||
|
|
||||||
for deadline in m.Deadline.objects.filter(
|
for deadline in m.Deadline.objects.filter(
|
||||||
deadline__lte=timezone.now(),
|
deadline__lte=timezone.now(),
|
||||||
|
|
Loading…
Reference in a new issue