format dates

This commit is contained in:
Anton Romanov 2018-12-05 17:06:56 +04:00
parent 54bf5735e5
commit 7b8f7a2047

View File

@ -75,12 +75,12 @@
</div>
</div>
<div class="form-group">
<label>Дата публикации:</label>
<input type="date" class="form-control" name="date-publish"/>
<label>Дата создания:</label>
<span th:text="${#dates.format(paperDto.createDate, 'dd.MM.yyyy HH:mm')}">text</span>
</div>
<div class="form-group">
<label>Последнее изменение:</label>
<input type="date" class="form-control" name="date-update"/>
<span th:text="${#dates.format(paperDto.updateDate, 'dd.MM.yyyy HH:mm')}">text</span>
</div>
<p><a href="#myModal1" class="btn btn-primary" data-toggle="modal">Редактировать
авторов