Answer the question
In order to leave comments, you need to log in
How to transfer data from a database with a date type to an input with a date type?
How to transfer data from a database with a date type to an input with a date type? in the template in the input I write
<input type="date" class="form-control" name="birthday"value="{{ patient.birthday|date("dd.mm.YY") }}">
Answer the question
In order to leave comments, you need to log in
You need to substitute data in the format YYYY-MM-DD then everything will work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question