fix: last updated date
This commit is contained in:
parent
5748f5c2f2
commit
b4773854f1
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
@if ($trip->is_active)
|
@if ($trip->is_active)
|
||||||
<span class="{{ ($trip->is_tracking) ? "positive" : "negative" }}">{{ ($trip->is_tracking) ? "Currently tracking" : "Not currently tracking" }}</span>
|
<span class="{{ ($trip->is_tracking) ? "positive" : "negative" }}">{{ ($trip->is_tracking) ? "Currently tracking" : "Not currently tracking" }}</span>
|
||||||
@endif
|
@endif
|
||||||
<span class="small">(Last update: {!! render_date_difference($trip->updated_at) !!})</span>
|
<span class="small">(Last update: {!! render_date_difference( $trip->checkins[ count($trip->checkins) - 1 ]->date ) !!})</span>
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in a new issue