Zeitzone Europe/Berlin: unnoetige UTC-Konvertierung entfernt
Beim Speichern/Veroeffentlichen waren Termine 2 Stunden versetzt: die App-Zeitzone stand auf UTC, Termine wurden nach UTC umgerechnet, aber published_at roh angezeigt. - config/app.php: timezone UTC -> Europe/Berlin - PressRelease: DISPLAY_TIMEZONE + setTimezone-Umrechnung entfernt - Admin-/Customer-Formulare: scheduledAtUtc() -> resolveScheduledAt(), parst direkt in App-Zeitzone; Edit-Hydration ohne setTimezone - ProofPdfRenderer + Boost-Anzeige: setTimezone entfernt - Tests an verschiebungsfreies Verhalten angepasst Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
326ff9b2a0
commit
624fca68a8
12 changed files with 56 additions and 68 deletions
|
|
@ -50,7 +50,7 @@ class ProofPdfRenderer
|
|||
$portalLabel = $pressRelease->portal instanceof Portal
|
||||
? $pressRelease->portal->label()
|
||||
: (string) $pressRelease->portal;
|
||||
$publishedAt = $pressRelease->published_at?->copy()->setTimezone(PressRelease::DISPLAY_TIMEZONE);
|
||||
$publishedAt = $pressRelease->published_at;
|
||||
$dateLabel = $publishedAt?->format('d.m.Y') ?? 'n/a';
|
||||
$timeLabel = $publishedAt?->format('H:i') ?? null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue