]> Cypherpunks repositories - gostls13.git/commit
misc/dashboard/codereview: send mail immediately, and fill in time.Time fields.
authorDavid Symonds <dsymonds@golang.org>
Tue, 1 May 2012 01:33:25 +0000 (11:33 +1000)
committerDavid Symonds <dsymonds@golang.org>
Tue, 1 May 2012 01:33:25 +0000 (11:33 +1000)
commitdae2992c98bff181b023f27889c513d89714f5ac
treeffbf2b923d8c25aaa7fd61bdd4bf3b76003506cf
parent4de15a5cdaf94b9e2269fb79008c8c862f355d2a
misc/dashboard/codereview: send mail immediately, and fill in time.Time fields.

If we delay the mail sending, we can't send as the current user.
If we don't fill in the time.Time fields, datastore.Put will fail
because the zero time.Time value is out of its range.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6136053
misc/dashboard/codereview/dashboard/cl.go
misc/dashboard/codereview/dashboard/mail.go