Fix 24-uurs bug in terugluisteren
This commit is contained in:
@@ -46,7 +46,8 @@
|
|||||||
<ul class='blog row grid'>
|
<ul class='blog row grid'>
|
||||||
@endif
|
@endif
|
||||||
<?php $url = route('programma') . $program->program->url; ?>
|
<?php $url = route('programma') . $program->program->url; ?>
|
||||||
<?php $duration = $program->end->diff($program->start)->h; ?>
|
<?php $endStartDiff = $program->end->diff($program->start);
|
||||||
|
$duration = 24 * $endStartDiff->d + $endStartDiff->h; ?>
|
||||||
<li class="post card column column_1_2">
|
<li class="post card column column_1_2">
|
||||||
<div class="post_content">
|
<div class="post_content">
|
||||||
<h2><a href="{{$url}}" title="{{$program->program->name}}">{!!$program->program->name!!}</a></h2>
|
<h2><a href="{{$url}}" title="{{$program->program->name}}">{!!$program->program->name!!}</a></h2>
|
||||||
|
|||||||
Reference in New Issue
Block a user