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

Function formatDateRuntime

packages/effect/src/Schema.ts:8375–8377  ·  view source on GitHub ↗
(date: globalThis.Date)

Source from the content-addressed store, hash-verified

8373}
8374
8375function formatDateRuntime(date: globalThis.Date): string {
8376 return `new Date(${format(date.getTime())})`
8377}
8378
8379/**
8380 * Validates that a Date is greater than the specified value (exclusive).

Callers 1

Schema.tsFile · 0.85

Calls 1

formatFunction · 0.90

Tested by

no test coverage detected