如何在Django的输入字段中使用datetime-local

时间:2018-10-05 09:26:45

标签: django django-forms

我在输入字段中使用了datetime-local,但是如果我使用的表单无效,那么在这种情况下该怎么办? <input class="form-control pmd-z-depth-1 shadow-demo" id="updateend_date" type="date" name="end_date">

输出 2018-01-01T01:00

预期产量 2018-01-01T01:00Z

0 个答案:

没有答案