MCPcopy Index your code
hub / github.com/Effect-TS/effect / formatDate

Function formatDate

packages/effect/src/Inspectable.ts:52–58  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

50
51/** @internal */
52export function formatDate(date: Date): string {
53 try {
54 return date.toISOString()
55 } catch {
56 return "Invalid Date"
57 }
58}
59
60function safeToString(input: any): string {
61 try {

Callers 1

goFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected