Skip to content

Commit fb2ab4e

Browse files
committed
Fix train times rendering as UTC instead of app timezone
1 parent eb8066a commit fb2ab4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎resources/views/tile.blade.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class="flex items-center justify-center w-10 h-10 rounded-full"
3232
@endif
3333

3434
<span class="flex-none font-bold text-right variant-tabular">
35-
{{ \Carbon\Carbon::createFromTimestamp($train['time'])->format('H:i') }}
35+
{{ \Carbon\Carbon::createFromTimestamp($train['time'], config('app.timezone'))->format('H:i') }}
3636
</span>
3737
</li>
3838
@endif

0 commit comments

Comments
 (0)