Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dispatcharr/Dispatcharr
/ toIsoIfDate
Function
toIsoIfDate
frontend/src/utils/forms/RecordingUtils.js:24–27 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
22
};
23
24
export
const
toIsoIfDate = (value) => {
25
const
dt = asDate(value);
26
return
dt ? dt.toISOString() : value;
27
};
28
29
export
const
toDateString = (value) => {
30
const
dt = asDate(value);
Callers
2
RecordingUtils.test.js
File · 0.90
buildSinglePayload
Function · 0.85
Calls
1
asDate
Function · 0.85
Tested by
no test coverage detected