Explorar o código

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

Vijayakrishnan Krishnan %!s(int64=4) %!d(string=hai) anos
pai
achega
c10821b391
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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>