Fix deployment on Heroku, closes #77
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
<?php
|
||||
$incidentDate = Carbon::now()->subDays($i);
|
||||
$incidents = Incident::whereRaw('DATE(created_at) = "' . $incidentDate->format('Y-m-d') . '"')
|
||||
->orderBy('created_at', 'desc')->get();
|
||||
$incidents = Incident::whereBetween('created_at', [
|
||||
$incidentDate->format('Y-m-d') . ' 00:00:00',
|
||||
$incidentDate->format('Y-m-d') . ' 23:59:59',
|
||||
])->orderBy('created_at', 'desc')->get();
|
||||
?>
|
||||
<h4>{{ $incidentDate->format('jS F Y') }}</h4>
|
||||
<div class='timeline'>
|
||||
|
||||
Reference in New Issue
Block a user