MCPcopy Index your code
hub / github.com/coder/coder / Timestamp

Function Timestamp

cli/cliui/cliui.go:88–90  ·  view source on GitHub ↗

Timestamp formats a timestamp for display.

(t time.Time)

Source from the content-addressed store, hash-verified

86
87// Timestamp formats a timestamp for display.
88func Timestamp(t time.Time) string {
89 return pretty.Sprint(DefaultStyles.DateTimeStamp, t.Format(time.Stamp))
90}
91
92// Keyword formats a keyword for display.
93func Keyword(s string) string {

Callers 15

stopMethod · 0.92
startMethod · 0.92
TestTaskCreateFunction · 0.92
restartMethod · 0.92
taskPauseMethod · 0.92
deleteWorkspaceMethod · 0.92
deleteOrganizationMethod · 0.92
taskDeleteMethod · 0.92
templateDeleteMethod · 0.92
taskCreateMethod · 0.92

Calls 1

FormatMethod · 0.65

Tested by 1

TestTaskCreateFunction · 0.74