commit | 3da2546a5596473f8d2dae455747ceb984c5de64 | [log] [tgz] |
---|---|---|
author | Jakub Przychodzeń <jprzychodzen@google.com> | Thu May 27 15:13:21 2021 |
committer | Jakub Przychodzeń <jprzychodzen@google.com> | Thu May 27 15:13:21 2021 |
tree | 86151e2a45177fd1520ec6efad4c6a7c4380c984 | |
parent | da695404a2bc98e73955a69a285a5d7ce89188c5 [diff] |
Fix tracing time format, to report second
diff --git a/trace/trace.go b/trace/trace.go index 2af4967..3023d10 100644 --- a/trace/trace.go +++ b/trace/trace.go
@@ -56,7 +56,7 @@ b.WriteString(" ") } - b.WriteString(fmt.Sprintf("%vms (%v)", durationToMilliseconds(totalTime), startTime.Format("15:04:00.000"))) + b.WriteString(fmt.Sprintf("%vms (%v)", durationToMilliseconds(totalTime), startTime.Format("15:04:05.000"))) } func durationToMilliseconds(timeDuration time.Duration) int64 {