Skip to content

Commit 5fa65d0

Browse files
bug; fix last result not using the display_timezone env var (alexjustesen#2522)
Co-authored-by: Alex Justesen <[email protected]>
1 parent 89323e8 commit 5fa65d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/livewire/latest-result-stats.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Latest result
1010
</h2>
1111

12-
<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>
12+
<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>
1313
</div>
1414

1515
@auth

0 commit comments

Comments
 (0)