MCPcopy Index your code
hub / github.com/winfunc/opcode / getDayName

Function getDayName

src/lib/date-utils.ts:104–106  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

102}
103
104function getDayName(date: Date): string {
105 return date.toLocaleDateString('en-US', { weekday: 'long' });
106}
107
108/**
109 * Formats a timestamp to a relative time string (e.g., "2 hours ago", "3 days ago")

Callers 1

formatUnixTimestampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected