Skip to content

Commit

Permalink
Merge pull request #597 from HZ-HBO-ICT/hotfix/programme
Browse files Browse the repository at this point in the history
Hotfix - Fix displayed time of the presentation in programme
  • Loading branch information
TimKardol authored Nov 14, 2024
2 parents 6b217bb + 3e104d7 commit e81de11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/programme/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ class="text-yellow-500 flex transititext-primary text-primary transition duratio
Place and time
</h2>
<p>Room: {{$presentation->room->name}}</p>
<p>Time: {{Carbon::parse($presentation->timeslot->start)->format('H:i')}}
- {{(Carbon::parse($presentation->timeslot->start)->addMinutes($presentation->duration))->format('H:i')}}</p>
<p>Time: {{Carbon::parse($presentation->start)->format('H:i')}}
- {{(Carbon::parse($presentation->start)->addMinutes($presentation->duration))->format('H:i')}}</p>
</div>
@if(Auth::user())
@can('enroll', $presentation)
Expand Down

0 comments on commit e81de11

Please sign in to comment.