Просмотр исходного кода

[STAG-5] Use hh:mm for start and end time edit

Vijayakrishnan Krishnan 4 лет назад
Родитель
Сommit
c10821b391
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      resources/views/app/patient/dashboard.blade.php

+ 2 - 2
resources/views/app/patient/dashboard.blade.php

@@ -81,12 +81,12 @@
                                                 <div class="mb-2">
                                                     <label class="text-secondary text-sm">Start Time</label>
                                                     <input type="time" name="startTime" class="form-control form-control-sm"
-                                                           value="{{ date("H:i:s", strtotime($appointment->start_time)) }}">
+                                                           value="{{ date("H:i", strtotime($appointment->start_time)) }}">
                                                 </div>
                                                 <div class="mb-2">
                                                     <label class="text-secondary text-sm">End Time</label>
                                                     <input type="time" name="endTime" class="form-control form-control-sm"
-                                                           value="{{ date("H:i:s", strtotime($appointment->end_time)) }}">
+                                                           value="{{ date("H:i", strtotime($appointment->end_time)) }}">
                                                 </div>
                                                 <div>
                                                     <button submit class="btn btn-sm btn-primary mr-1">Submit</button>