MCPcopy
hub / github.com/continuedev/continue / asBasicISOString

Function asBasicISOString

core/util/historyUtils.ts:22–26  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

20}
21
22function asBasicISOString(date: Date): string {
23 const isoString = date.toISOString();
24
25 return isoString.replace(/[-:]|(\.\d+Z)/g, "");
26}
27
28function reformatCodeBlocks(msgText: string): string {
29 const codeBlockFenceRegex = /```((.*?\.(\w+))\s*.*)\n/g;

Callers 1

shareSessionFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected