Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/heygen-com/hyperframes
/ parseDate
Function
parseDate
packages/cli/src/auth/resolver.ts:119–123 ·
view source on GitHub ↗
(s: string | undefined)
Source
from the content-addressed store, hash-verified
117
}
118
119
function
parseDate(s: string | undefined): Date | undefined {
120
if
(!s)
return
undefined;
121
const
d =
new
Date(s);
122
return
Number.isNaN(d.getTime()) ? undefined : d;
123
}
Callers
1
pickOAuth
Function · 0.85
Calls
1
getTime
Method · 0.65
Tested by
no test coverage detected