Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ schedule.test.ts
File
schedule.test.ts
site/src/utils/schedule.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
dayjs from
"dayjs"
;
2
import
duration from
"dayjs/plugin/duration"
;
3
import
type
{ Workspace } from
"#/api/typesGenerated"
;
4
import
* as Mocks from
"#/testHelpers/entities"
;
Callers
nothing calls this directly
Calls
8
stripTimezone
Function · 0.90
extractTimezone
Function · 0.90
getMaxDeadline
Function · 0.90
getMinDeadline
Function · 0.90
getMaxDeadlineChange
Function · 0.90
quietHoursDisplay
Function · 0.90
diff
Method · 0.65
add
Method · 0.45
Tested by
no test coverage detected