Skip to content

Fix notification dates to respect app timezone#1953

Merged
freekmurze merged 1 commit intospatie:mainfrom
freekmurze:fix/notification-timezone
Jan 31, 2026
Merged

Fix notification dates to respect app timezone#1953
freekmurze merged 1 commit intospatie:mainfrom
freekmurze:fix/notification-timezone

Conversation

@freekmurze
Copy link
Member

Summary

  • Fixes backup dates in notifications to respect the app's configured timezone
  • Previously, dates were displayed in UTC regardless of the app.timezone config setting
  • Added test to verify timezone conversion works correctly

Fixes #1940

Test plan

  • Added test that verifies dates are converted to app timezone
  • All existing notification tests pass

The backup date in notifications was displayed in UTC regardless of
the configured app timezone. This fix converts dates to the app's
configured timezone before formatting.

Fixes spatie#1940

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@freekmurze freekmurze merged commit 4380be8 into spatie:main Jan 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Notification with wrong timezone

1 participant