MCPcopy
hub / github.com/codeaashu/claude-code / formatCronFireTime

Function formatCronFireTime

src/hooks/useScheduledTasks.ts:129–139  ·  view source on GitHub ↗
(d: Date)

Source from the content-addressed store, hash-verified

127}
128
129function formatCronFireTime(d: Date): string {
130 return d
131 .toLocaleString('en-US', {
132 month: 'short',
133 day: 'numeric',
134 hour: 'numeric',
135 minute: '2-digit',
136 })
137 .replace(/,? at |, /, ' ')
138 .replace(/ ([AP]M)/, (_, ampm) => ampm.toLowerCase())
139}
140

Callers 1

useScheduledTasksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected