diff options
Diffstat (limited to 'formatTime.go')
| -rw-r--r-- | formatTime.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formatTime.go b/formatTime.go index 2cb0da9..23cc5d1 100644 --- a/formatTime.go +++ b/formatTime.go @@ -9,7 +9,7 @@ import ( // there is only one way to display the time as text // this is that way. Don't like it? Don't use COBOL func FormatTime(t time.Time) string { - s := t.Format("2006/01/02 15:04:03") + s := t.UTC().Format("2006/01/02 15:04:03") dur := time.Since(t) //always time, two spaces, (duration) return s + " (" + FormatDuration(dur) + ")" |
