diff --git a/skolehjem/resources/views/app/news/index.blade.php b/skolehjem/resources/views/app/news/index.blade.php
index b2e73e3..87c1cba 100644
--- a/skolehjem/resources/views/app/news/index.blade.php
+++ b/skolehjem/resources/views/app/news/index.blade.php
@@ -128,7 +128,7 @@
@foreach($news as $new)
@if($new->type == 'News')
- @if(\Carbon\Carbon::now() < date("Y-m-d H:i", strtotime($new->news_expiration_date)))
+ @if(\Carbon\Carbon::now() > date("Y-m-d H:i", strtotime($new->news_expiration_date)))
@@ -163,7 +163,7 @@
@endif
@elseif($new->type == 'Activity')
- @if(\Carbon\Carbon::now() < date("Y-m-d H:i", strtotime($new->news_expiration_date)))
+ @if(\Carbon\Carbon::now() > date("Y-m-d H:i", strtotime($new->news_expiration_date)))
{{ $new->subname }}
@@ -202,7 +202,7 @@
@endif
@elseif($new->type == 'Guide')
- @if(\Carbon\Carbon::now() < date("Y-m-d H:i", strtotime($new->news_expiration_date)))
+ @if(\Carbon\Carbon::now() > date("Y-m-d H:i", strtotime($new->news_expiration_date)))
{{ $new->subname }}
@@ -225,7 +225,7 @@
@endif
@elseif($new->type == 'MultipleEvent')
- @if(\Carbon\Carbon::now() < date("Y-m-d H:i:s", strtotime($new->news_expiration_date)))
+ @if(\Carbon\Carbon::now() > date("Y-m-d H:i:s", strtotime($new->news_expiration_date)))
Ugentlig aktiviteter for uge {{ $new->subname }}