Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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 */
52
export
function
formatDate(date: Date): string {
53
try {
54
return
date.toISOString()
55
} catch {
56
return
"Invalid Date"
57
}
58
}
59
60
function
safeToString(input: any): string {
61
try {
Callers
1
go
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected