Update (view): Show correct timezone

This commit is contained in:
2023-08-05 10:02:49 +08:00
parent 500714d7bf
commit 678fe3a1ec
3 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
</small>
@endforeach
<small
class="text-body-secondary ms-2">{{ $post->publish_date->format('j F Y') }}</small>
class="text-body-secondary ms-2">{{ $post->publish_date->timezone(session()->get('timezone'))->format('j F Y') }}</small>
{{-- <small class="text-body-secondary ms-2">3 min read</small> --}}
</p>