Skip to content

feat(notifications): align digest windows across DST boundaries with UTC fallback (#1933) - #2077

Closed
ryder777777 wants to merge 1 commit into
Arena1X:mainfrom
ryder777777:fix-1933-digest-timezone-alignment
Closed

ryder777777 wants to merge 1 commit into
Arena1X:mainfrom
ryder777777:fix-1933-digest-timezone-alignment

Conversation

@ryder777777

Copy link
Copy Markdown

Closes #1933

Summary

Add resolveTimezone(tz) with safe 'UTC' fallback for unset/invalid zones and computeLocalWindowStart(now, timezone, days) in DigestService so daily and weekly digest windows align to the exact local hour across 23-hour spring-forward and 25-hour fall-back DST transitions.

Modified Files

  • backend/src/notifications/digest.service.ts
  • backend/src/notifications/digest.service.spec.ts

Verification

  • Verified with npx eslint (0 errors) and npx jest unit tests passing in backend/.

@ryder777777

Copy link
Copy Markdown
Author

/claim #1933

Payout Wallet (Binance USDT TRC20 / Tron Network): TXmG2bbkS5m2ZfT535o5kQNpwYzhb5JUYg

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
insight-arena-4rll Error Error Oct 20, 2026 7:18pm UTC

This branch had an error being deployed

1 failed deployment
Preview — c72edd10 Deployed Oct 20, 2026 by vercel[bot]
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.

[Backend] — Notifications Digest Timezone-Correct Windowing

2 participants