Explorar el Código

Fix broken “due” date.

master
Pavel Šimerda hace 8 años
padre
commit
252419cfef
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      lib/invoice/db/invoices.py

+ 1
- 1
lib/invoice/db/invoices.py Ver fichero

@@ -97,7 +97,7 @@ class InvoiceData(Data):

def _postprocess_dates(self):
date = self._parse_date(self._item.date)
if "due" in self._data:
if self.due:
try:
due = self._parse_date(self.due)
except ValueError:


Cargando…
Cancelar
Guardar