MCPcopy Create free account
hub / github.com/dailydotdev/apps / getIntelDayLabel

Function getIntelDayLabel

packages/shared/src/features/squads/lib/intel.ts:35–41  ·  view source on GitHub ↗
(date: string)

Source from the content-addressed store, hash-verified

33
34// "Monday, Nov 9": the day the weekly run builds the next intel
35export const getIntelDayLabel = (date: string): string =>
36 new Date(date).toLocaleDateString('en-US', {
37 weekday: 'long',
38 month: 'short',
39 day: 'numeric',
40 timeZone: 'UTC',
41 });
42
43// "Oct 26 to Nov 1": the week ends the Monday after, so the last day is the
44// Sunday before it

Callers 2

IntelSettingsFormFunction · 0.90
SquadManageIntelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected