-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementIncremental improvement to existing functionality.Incremental improvement to existing functionality.
Description
We compute day IDs and start-of-day timestamps in multiple mappings (e.g., BroadcasterDay, TranscoderDay, createOrLoadDay, and TicketBroker handlers). It would be good to centralize this logic in helpers.ts (e.g., dayStart(timestamp) and dayId(timestamp)) and reuse those helpers across mappings.
Goal: ensure day-boundary math is consistent across all handlers, reduce duplicated logic, and make future changes easier and safer.
Metadata
Metadata
Assignees
Labels
enhancementIncremental improvement to existing functionality.Incremental improvement to existing functionality.
Type
Projects
Status
Backlog