Fix 24-uurs bug in terugluisteren
This commit is contained in:
@@ -46,7 +46,8 @@
|
||||
<ul class='blog row grid'>
|
||||
@endif
|
||||
<?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">
|
||||
<div class="post_content">
|
||||
<h2><a href="{{$url}}" title="{{$program->program->name}}">{!!$program->program->name!!}</a></h2>
|
||||
|
||||
Reference in New Issue
Block a user