MCPcopy
hub / github.com/kopia/kopia / formatTimestampPrecise

Function formatTimestampPrecise

cli/show_utils.go:77–79  ·  view source on GitHub ↗
(ts time.Time)

Source from the content-addressed store, hash-verified

75}
76
77func formatTimestampPrecise(ts time.Time) string {
78 return convertTimezone(ts).Format("2006-01-02 15:04:05.000 MST")
79}
80
81func convertTimezone(ts time.Time) time.Time {
82 switch timeZone {

Callers 2

runMethod · 0.85
dumpIndexBlobEntriesMethod · 0.85

Calls 2

convertTimezoneFunction · 0.85
FormatMethod · 0.65

Tested by

no test coverage detected