MCPcopy Index your code
hub / github.com/bytebase/bytebase / getDateForPbTimestampProtoEs

Function getDateForPbTimestampProtoEs

frontend/src/types/timestamp.ts:14–21  ·  view source on GitHub ↗
(
  timestamp?: TimestampProtoEs
)

Source from the content-addressed store, hash-verified

12};
13
14export const getDateForPbTimestampProtoEs = (
15 timestamp?: TimestampProtoEs
16): Date | undefined => {
17 if (!timestamp) {
18 return undefined;
19 }
20 return new Date(getTimeForPbTimestampProtoEs(timestamp));
21};

Callers 15

useColumnDefsFunction · 0.90
ReleaseBlockFunction · 0.90
titleOfQueryHistoryFunction · 0.90
prepareQueryHistoryFunction · 0.90
SyncSchemaButtonFunction · 0.90
PlanCheckResultsDrawerFunction · 0.90
createWorkspaceSliceFunction · 0.90
ChangelogSelectorFunction · 0.90
DatabaseRevisionTableFunction · 0.90
DatabaseChangelogTableFunction · 0.90
TaskRunDateCellFunction · 0.90

Calls 1

Tested by

no test coverage detected