Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deta/surf
/ parseTextIntoISOString
Function
parseTextIntoISOString
packages/utils/src/data/time.ts:122–128 ·
view source on GitHub ↗
(dateString: string)
Source
from the content-addressed store, hash-verified
120
}
121
122
export
const
parseTextIntoISOString = (dateString: string) => {
123
try {
124
return
new
Date(dateString).toISOString()
125
} catch (e) {
126
return
null
127
}
128
}
Callers
8
getPage
Method · 0.90
normalizeMessage
Method · 0.90
normalizeVideo
Method · 0.90
normalizePost
Method · 0.90
parseTweet
Method · 0.90
parseYouTubeRSSItemToPost
Method · 0.90
extractMetadataFromDocument
Method · 0.90
extractContentFromDocument
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected