MCPcopy Create free account
hub / github.com/Effect-TS/effect / toString

Method toString

packages/effect/src/unstable/cli/Prompt.ts:2063–2068  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2061 }
2062
2063 override toString() {
2064 const year = `${this.date.getFullYear()}`.padStart(4, "0")
2065 return this.token.length === 2
2066 ? year.slice(-2)
2067 : year
2068 }
2069}
2070
2071class Meridiem extends DatePart {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected