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

Function formatPeakDay

src/components/Stats.tsx:27–33  ·  view source on GitHub ↗
(dateStr: string)

Source from the content-addressed store, hash-verified

25import { Tab, Tabs, useTabHeaderFocus } from './design-system/Tabs.js';
26import { Spinner } from './Spinner.js';
27function formatPeakDay(dateStr: string): string {
28 const date = new Date(dateStr);
29 return date.toLocaleDateString('en-US', {
30 month: 'short',
31 day: 'numeric'
32 });
33}
34type Props = {
35 onClose: (result?: string, options?: {
36 display?: CommandResultDisplay;

Callers 1

OverviewTabFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected