MCPcopy Create free account
hub / github.com/anomalyco/console / parseTime

Function parseTime

packages/web/workspace/src/common/format.ts:13–15  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

11} as const;
12
13export function parseTime(input: string) {
14 return DateTime.fromSQL(input, { zone: "utc" });
15}
16
17export function formatBytes(bytes: number, decimals = 2) {
18 const k = 1024;

Callers 5

StageCardFunction · 0.90
CardFunction · 0.90
IssueRowFunction · 0.90
DetailFunction · 0.90
formatSinceTimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected