mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-05-30 14:38:54 +02:00
Fix date format validation error reported with 0.2.8 release
This commit is contained in:
parent
9cb32f83ca
commit
fbddbd6f6e
@ -399,7 +399,7 @@ def update_ticket(request, ticket_id, public=False):
|
|||||||
# NOTE: jQuery's default for dates is mm/dd/yy
|
# NOTE: jQuery's default for dates is mm/dd/yy
|
||||||
# very US-centric but for now that's the only format supported
|
# very US-centric but for now that's the only format supported
|
||||||
# until we clean up code to internationalize a little more
|
# until we clean up code to internationalize a little more
|
||||||
due_date = request.POST.get('due_date', None)
|
due_date = request.POST.get('due_date', None) or None
|
||||||
|
|
||||||
if due_date is not None:
|
if due_date is not None:
|
||||||
# based on Django code to parse dates:
|
# based on Django code to parse dates:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user