Commit 3b91ebb2 authored by David Haynes's avatar David Haynes
Browse files

Merge branch 'master' of

parents 973a2442 7bfbffcb
Pipeline #359 passed with stage
in 3 minutes and 22 seconds
......@@ -12,8 +12,7 @@ from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Fieldset, Submit, HTML, Div, Field
from crispy_forms.bootstrap import StrictButton, PrependedText, Accordion, AccordionGroup
from bootstrap3_datetime.widgets import DateTimePicker
import datetime
from datetime import date
from datetime import date, datetime, timedelta
class URLForm(forms.ModelForm):
......@@ -89,11 +88,11 @@ class URLForm(forms.ModelForm):
label='Custom Date',
initial=lambda: + timedelta(days=1),
"format": "MM-DD-YYYY",
"pickTime": False,
"defaultDate": ( + datetime.timedelta(hours=24)).strftime("%m-%d-%Y"),
"class": "fa fa-calendar",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment