Skip to content

Commit

Permalink
Fix datetime value from monthcount to minute
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecraank committed Mar 20, 2024
1 parent 9f5120e commit 20d41ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/schedules/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function validate() {
<label for="start_date" class="form-label">{{ __('Start date') }}<span
class="text-danger">*</span></label>
<input required type="datetime-local" class="form-control" name="start_date" id="start_date"
value="{{ now()->format('Y-m-d H:m') }}">
value="{{ now()->format('Y-m-d H:i') }}">
</div>
</div>

Expand All @@ -81,7 +81,7 @@ class="text-danger">*</span></label>
<label for="end_date" class="form-label">{{ __('End date') }}<span
class="text-danger">*</span></label>
<input required type="datetime-local" class="form-control" name="end_date" id="end_date"
value="{{ now()->addHours(1)->format('Y-m-d H:m') }}">
value="{{ now()->addHours(1)->format('Y-m-d H:i') }}">
</div>
</div>
</div>
Expand Down

0 comments on commit 20d41ef

Please sign in to comment.