Added datepicker support in JavaScript

This commit is contained in:
Raphael Michel
2016-10-19 19:43:51 +02:00
parent 20cbefae33
commit bbca4e3d64
3 changed files with 23 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ def contextprocessor(request):
ctx['nav_event'] = _nav_event
ctx['js_datetime_format'] = get_javascript_format('DATETIME_INPUT_FORMATS')
ctx['js_date_format'] = get_javascript_format('DATE_INPUT_FORMATS')
ctx['js_locale'] = get_moment_locale()
return ctx