Skip to content
Snippets Groups Projects
Unverified Commit 926fceff authored by Dan Braghis's avatar Dan Braghis Committed by GitHub
Browse files

Merge pull request #64 from OpenTechFund/feature/28-fix-date-fefault-for-fe

Feature/28 fix date default for fe
parents f3ea1536 2ae5d272
No related branches found
No related tags found
No related merge requests found
...@@ -158,6 +158,7 @@ class DatePickerInput(forms.DateInput): ...@@ -158,6 +158,7 @@ class DatePickerInput(forms.DateInput):
'data-date-format': 'yyyy-mm-dd', 'data-date-format': 'yyyy-mm-dd',
}) })
kwargs['attrs'] = attrs kwargs['attrs'] = attrs
kwargs['format'] = '%Y-%m-%d'
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment