This website works better with JavaScript.
Home
Explore
Help
Sign In
business
/
invoice
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix broken “due” date.
master
Pavel Šimerda
8 years ago
parent
be12d78710
commit
252419cfef
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/invoice/db/invoices.py
+ 1
- 1
lib/invoice/db/invoices.py
View File
@@ -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:
Write
Preview
Loading…
Cancel
Save