MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / parseISOString

Function parseISOString

source code/utils/log.ts:287–300  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

285}
286
287function parseISOString(s: string): Date {
288 const b = s.split(/\D+/)
289 return new Date(
290 Date.UTC(
291 parseInt(b[0]!, 10),
292 parseInt(b[1]!, 10) - 1,
293 parseInt(b[2]!, 10),
294 parseInt(b[3]!, 10),
295 parseInt(b[4]!, 10),
296 parseInt(b[5]!, 10),
297 parseInt(b[6]!, 10),
298 ),
299 )
300}
301
302export function logMCPError(serverName: string, error: unknown): void {
303 try {

Callers 1

loadLogListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected