summaryrefslogtreecommitdiff
path: root/ishtar_common/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/forms.py')
-rw-r--r--ishtar_common/forms.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py
index 9ee241919..ad76d63cd 100644
--- a/ishtar_common/forms.py
+++ b/ishtar_common/forms.py
@@ -1036,8 +1036,7 @@ class DocumentItemSelect(ImportSelect):
def get_now():
- format = formats.get_format("DATE_INPUT_FORMATS")[0]
- return datetime.datetime.now().strftime(format)
+ return datetime.datetime.now().strftime(formats.get_format("DATE_INPUT_FORMATS")[0])
class ClosingDateFormSelection(IshtarForm):