MCPcopy Index your code
hub / github.com/bugy/script-server / getStartTimeString

Function getStartTimeString

web-src/src/common/store/executions-module.js:108–115  ·  view source on GitHub ↗
(log)

Source from the content-addressed store, hash-verified

106}
107
108function getStartTimeString(log) {
109 if (!isNull(log.startTime)) {
110 const startTime = new Date(log.startTime);
111 return startTime.toLocaleDateString() + ' ' + startTime.toLocaleTimeString();
112 } else {
113 return '';
114 }
115}
116
117function getFullStatus(log) {
118 if (!isNull(log.exitCode) && !isNull(log.status)) {

Callers 1

translateExecutionLogFunction · 0.85

Calls 1

isNullFunction · 0.90

Tested by

no test coverage detected