Jelajahi Sumber

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

Vijayakrishnan Krishnan 4 tahun lalu
induk
melakukan
c10821b391
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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>