I'm having a problem on how will I convert the datetime format from my db to html datetime-local. Here's the data format in my database:
2020-07-18T17:25:00Z
When I'm trying to pass this data to html input with a type of datetime-local it is giving me a warning like this:

Here's my html code with the formatted value:
<input type="datetime-local" required="" value="{{order.pick_up_datetime|date:'Y-m-dTh:i a'}}">