Discord renders <t:epoch:D> in each viewer's timezone, so the slot's Friday 00:00 Eastern epoch read as Thursday for members west of Eastern. Render the date as a pinned Eastern label instead. - add fridayDateLabel(): the upcoming Friday in America/New_York - noticeToken() now returns that label, keeping dedup stable per Friday - legacyNoticeToken() still matches older <t:epoch:D> notices and the service rewrites them in place, so a deploy does not duplicate or leave one behind - only match the bot's own messages, since a plain-date token could otherwise hit a member's message (which the bot cannot edit) - document the timezone rule in the bot AGENTS.md |
||
|---|---|---|
| .. | ||
| audit | ||
| e2e | ||
| fixtures | ||
| helpers | ||
| int | ||
| push-schema.ts | ||
| seed-baseline.ts | ||
| test-db.ts | ||
| vitest-global.ts | ||
| vitest-marker.ts | ||
| vitest-reporter.ts | ||
| vitest-teardown.ts | ||
| vitest-worker-setup.ts | ||