UTC please

pull/3072/head
Kegan Dougal 2017-01-26 12:17:47 +00:00
parent 6a40ad8a20
commit 22bb0f9d30
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ func main() {
// "bugreport-20170115-112233-0.log.gz" => most recent log // "bugreport-20170115-112233-0.log.gz" => most recent log
// "bugreport-20170115-112233-1.log.gz" => ... // "bugreport-20170115-112233-1.log.gz" => ...
// "bugreport-20170115-112233-N.log.gz" => oldest log // "bugreport-20170115-112233-N.log.gz" => oldest log
t := time.Now() t := time.Now().UTC()
prefix := t.Format("bugreport-20060102-150405") prefix := t.Format("bugreport-20060102-150405")
summary := fmt.Sprintf( summary := fmt.Sprintf(
"%s\n\nNumber of logs: %d\nVersion: %s\nUser-Agent: %s\n", p.Text, len(p.Logs), p.Version, p.UserAgent, "%s\n\nNumber of logs: %d\nVersion: %s\nUser-Agent: %s\n", p.Text, len(p.Logs), p.Version, p.UserAgent,