Im trying to make a user friendly timepicker. I use symfony 4.4 together with the form builder to create this timepicker. I use this timepicker when im creating my entity and editing my entity. Now I run into a small issue… I want the time to be at a specific "default" value. So I did ..
Here I attached 1 image of database png html: start_time}}” type=”time” required placeholder=”EX: 5:00 PM” class=”form-control input-md”> controller: $appointinfo->time = $request->time; Successfully add time in database but in 24 hour format. I want it 12 hour format in database. Sourc..