show dates/times in user's timezone

This commit is contained in:
Nabeel Shahzad
2017-12-23 11:58:17 -06:00
parent eb6e624a4d
commit 3b8621371a
11 changed files with 110 additions and 22 deletions

View File

@@ -21,7 +21,7 @@
</div>
<div class="col-sm-10">
<div class="row">
<div class="col-sm-4">
<div class="col-sm-6">
<div>
<span class="description">DEP&nbsp;</span>
{!! $pirep->dpt_airport->icao !!}&nbsp;
@@ -41,13 +41,10 @@
</div>
<div>
<span class="description">File Date&nbsp;</span>
{!! $pirep->created_at !!}
{!! show_datetime($pirep->created_at) !!}
</div>
</div>
<div class="col-sm-4">
<span class="description">more data&nbsp;</span>
</div>
<div class="col-sm-4">
<div class="col-sm-6">
<span class="description">more data&nbsp;</span>
</div>
</div>

View File

@@ -2,6 +2,7 @@
<thead>
<th>Name</th>
<th>Email</th>
<th>Registered</th>
<th class="text-center">Active</th>
<th></th>
</thead>
@@ -10,6 +11,7 @@
<tr>
<td>{!! $user->name !!}</td>
<td>{!! $user->email !!}</td>
<td>{!! show_date($user->created_at) !!}</td>
<td class="text-center">
@if($user->state == PilotState::ACTIVE)
<span class="label label-success">