MCPcopy Create free account
hub / github.com/code100x/cms / Segment

Interface Segment

src/lib/utils.ts:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15export interface Segment {
16 start: number;
17 end: number;
18 title: string;
19}
20export const formatTime = (seconds: number): string => {
21 const date = new Date(seconds * 1000);
22 const hh = date.getUTCHours();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected