MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / formatChatTime

Function formatChatTime

deployments/desktop/static/desktop.js:4292–4296  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

4290 }
4291
4292 function formatChatTime(value) {
4293 const text = String(value || "");
4294 const match = text.match(/(\d{2}):(\d{2})/);
4295 return match ? `${match[1]}:${match[2]}` : "";
4296 }
4297
4298 function renderChatHistory(data = {}) {
4299 const sessions = Array.isArray(data.sessions) ? data.sessions : state.chatHistory;

Callers 1

renderChatHistoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected