1
0
mirror of https://github.com/golang/go synced 2024-11-12 00:30:22 -07:00

gobuilder: send commit time in RFC3339 format

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5701063
This commit is contained in:
Andrew Gerrand 2012-02-28 11:21:56 +11:00
parent fa33fdbc7d
commit 2f4e5f79a6

View File

@ -169,7 +169,7 @@ func postCommit(key, pkg string, l *HgLog) error {
"PackagePath": pkg,
"Hash": l.Hash,
"ParentHash": l.Parent,
"Time": t.Unix() * 1e6, // in microseconds, yuck!
"Time": t.Format(time.RFC3339),
"User": l.Author,
"Desc": l.Desc,
}, nil)