Fixed timezone issue in PDF reports

This commit is contained in:
Constantin Graf
2025-04-02 12:55:43 +02:00
committed by Constantin Graf
parent bc9b104c3f
commit 4fb744db1d
3 changed files with 7 additions and 6 deletions

View File

@@ -139,7 +139,7 @@
<div>
<p style="font-size: 32px; font-weight: 600; margin-bottom: 5px;">Report</p>
<div style="font-size: 16px; font-weight: 600; color: #71717a;">
<span>{{ $start->format('d.m.Y') }} - {{ $end->format('d.m.Y') }}</span><br><br>
<span>{{ $start->timezone($timezone)->format('d.m.Y') }} - {{ $end->timezone($timezone)->format('d.m.Y') }}</span><br><br>
</div>
</div>