MCPcopy Create free account
hub / github.com/coder/coder / getDeadline

Function getDeadline

site/src/utils/schedule.tsx:216–217  ·  view source on GitHub ↗
(workspace: Workspace)

Source from the content-addressed store, hash-verified

214}
215
216export const getDeadline = (workspace: Workspace): dayjs.Dayjs =>
217 dayjs(workspace.latest_build.deadline).utc();
218
219/**
220 * Get number of hours you can add or subtract to the current deadline before hitting the max or min deadline.

Callers 1

AutostopDisplayFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected