Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions resources/views/livewire/latest-result-stats.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Latest result
</h2>

<p class="mt-1 text-sm font-medium text-zinc-600 dark:text-zinc-400">{{ $this->latestResult->created_at->format(config('app.datetime_format')) }}</p>
<p class="mt-1 text-sm font-medium text-zinc-600 dark:text-zinc-400">{{ $this->latestResult->created_at->timezone(config('app.display_timezone'))->format(config('app.datetime_format')) }}</p>
</div>

@auth
Expand Down Expand Up @@ -130,7 +130,7 @@
@endfilled

<p class="flex items-baseline gap-x-2">
<span class="text-xl font-semibold tracking-tight text-zinc-900 dark:text-zinc-100">{{ $this->latestResult?->ping }}</span>
<span class="text-xl font-semibold tracking-tight text-zinc-900 dark:text-zinc-100">{{ round($this->latestResult?->ping, 2) }}</span>
<span class="text-sm text-zinc-600 dark:text-zinc-400">ms</span>
</p>
</x-filament::section>
Expand Down