MCPcopy
hub / github.com/Dimillian/CodexMonitor / getThreadCreatedTimestamp

Function getThreadCreatedTimestamp

src/utils/threadItems.listOps.ts:136–139  ·  view source on GitHub ↗
(thread: Record<string, unknown>)

Source from the content-addressed store, hash-verified

134}
135
136export function getThreadCreatedTimestamp(thread: Record<string, unknown>) {
137 const raw = (thread.createdAt ?? thread.created_at) ?? 0;
138 return normalizeThreadTimestamp(raw);
139}
140
141export function previewThreadName(text: string, fallback: string) {
142 const trimmed = text.trim();

Callers 3

Calls 1

normalizeThreadTimestampFunction · 0.90

Tested by

no test coverage detected