Skip to content

Commit

Permalink
Merge pull request #69 from MarioVillani/main
Browse files Browse the repository at this point in the history
Fix Timezone
  • Loading branch information
pxpm authored Jun 24, 2024
2 parents e1e3b32 + 5aa96dc commit 8b38e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/views/logs.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<th scope="row">{{ $key + 1 }}</th>
<td>{{ $file['file_name'] }}</td>
<td>{{ \Carbon\Carbon::createFromTimeStamp($file['last_modified'])->isoFormat(config('backpack.logmanager.date_format') ?: config('backpack.base.default_date_format', 'D MMM YYYY')) }}</td>
<td>{{ \Carbon\Carbon::createFromTimeStamp($file['last_modified'])->isoFormat('HH:mm') }}</td>
<td>{{ \Carbon\Carbon::createFromTimeStamp($file['last_modified'], config('app.timezone'))->isoFormat('HH:mm') }}</td>
<td class="text-right">{{ round((int)$file['file_size']/1048576, 2).' MB' }}</td>
<td>
<a class="btn btn-sm btn-link" href="{{ route('log.show', encrypt($file['file_name'])) }}"><i class="la la-eye"></i> {{ trans('backpack::logmanager.preview') }}</a>
Expand Down

0 comments on commit 8b38e10

Please sign in to comment.