Employed a regular expression pattern in the PeriodConverter to check the period format first.
This commit is contained in:
@ -24,7 +24,7 @@ First written: 2020/7/10
|
||||
|
||||
<!-- the period chooser dialog -->
|
||||
<!-- The Modal -->
|
||||
<input id="period-url" type="hidden" value="{% url_period "period-spec" %}" />
|
||||
<input id="period-url" type="hidden" value="{% url_period "0000-00-00" %}" />
|
||||
<input id="period-month-picker-params" type="hidden" value="{{ period.month_picker_params }}" />
|
||||
<div class="modal" id="period-modal">
|
||||
<div class="modal-dialog">
|
||||
|
Reference in New Issue
Block a user