SpringBoot form front and rear ends on the issue of data time format

From the background to get datethe output type of data to the front end easier, much as described, mainly back to the front end of the delivery time result in inconsistent data type. Specific solutions:

Between measures taken

<input type="text" name="bookPubDate" class="form-control">

After taking measures

<input type="date" name="bookPubDate" class="form-control">

Nothing operation just typereplaced the date

Published 141 original articles · won praise 131 · views 210 000 +

Guess you like

Origin blog.csdn.net/qq_41621362/article/details/104184567