Add timezone to buildDate

This commit is contained in:
bep 2014-12-09 11:42:07 +01:00
parent be3d563a13
commit 3a8c12418a

View file

@ -74,6 +74,6 @@ func setBuildDate() {
// formatBuildDate formats the buildDate according to the value in
// .Params.DateFormat, if it's set.
func formatBuildDate() {
t, _ := time.Parse("2006-01-02T15:04:05", buildDate)
t, _ := time.Parse("2006-01-02T15:04:05-0700", buildDate)
buildDate = t.Format(time.RFC3339)
}