{"record":{"id":"dcd166a1b83cc9b5","repo":"different-ai/openwork","slug":"date-method-name-is-not-available-in-codemode","errorCode":null,"errorMessage":"Date method '${name}' is not available in CodeMode.","messagePattern":"Date method '(.+?)' is not available in CodeMode\\.","errorType":"exception","errorClass":"InterpreterRuntimeError","httpStatus":null,"severity":"error","filePath":"packages/codemode/src/stdlib/date.ts","lineNumber":89,"sourceCode":"      return hosted.getUTCFullYear()\n    case \"getUTCMonth\":\n      return hosted.getUTCMonth()\n    case \"getUTCDate\":\n      return hosted.getUTCDate()\n    case \"getUTCDay\":\n      return hosted.getUTCDay()\n    case \"getUTCHours\":\n      return hosted.getUTCHours()\n    case \"getUTCMinutes\":\n      return hosted.getUTCMinutes()\n    case \"getUTCSeconds\":\n      return hosted.getUTCSeconds()\n    case \"getUTCMilliseconds\":\n      return hosted.getUTCMilliseconds()\n    case \"getTimezoneOffset\":\n      return hosted.getTimezoneOffset()\n    default:\n      throw new InterpreterRuntimeError(`Date method '${name}' is not available in CodeMode.`, node)\n  }\n}\nimport { type AstNode, InterpreterRuntimeError } from \"../interpreter/model.js\"\nimport { SandboxDate } from \"../values.js\"\nimport { coerceToNumber, coerceToString } from \"./value.js\"\n","sourceCodeStart":71,"sourceCodeEnd":95,"githubUrl":"https://github.com/different-ai/openwork/blob/2b7df46e8ae1517d64c896c7793d2d52ec845669/packages/codemode/src/stdlib/date.ts#L71-L95","documentation":"Error \"Date method '${name}' is not available in CodeMode.\" thrown in different-ai/openwork.","triggerScenarios":"Thrown at packages/codemode/src/stdlib/date.ts:89 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2b7df46e8ae1517d64c896c7793d2d52ec845669","analyzedAt":"2026-09-01T07:59:23.713Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}