Skip to content

Commit bc5eddf

Browse files
authored
Merge pull request #1499 from madchap/fix-date-format
fix initial date format
2 parents 8bea46a + fb0fd93 commit bc5eddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dojo/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ class ImportScanForm(forms.Form):
326326
required=True,
327327
label="Scan Completion Date",
328328
help_text="Scan completion date will be used on all findings.",
329-
initial=datetime.now().strftime("%m/%d/%Y"),
329+
initial=datetime.now().strftime("%Y-%m-%d"),
330330
widget=forms.TextInput(attrs={'class': 'datepicker'}))
331331
minimum_severity = forms.ChoiceField(help_text='Minimum severity level to be imported',
332332
required=True,

0 commit comments

Comments
 (0)